Merge pull request #3462 from TheHX/pr-issue-3353
Fix wrong position of LineEdit in Scene editor
This commit is contained in:
commit
8e70f59346
|
@ -2316,7 +2316,7 @@ bool Tree::edit_selected() {
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
Rect2 rect;
|
Rect2 rect;
|
||||||
rect.pos.y = get_item_offset(s) - v_scroll->get_val();
|
rect.pos.y = get_item_offset(s) - get_scroll().y;
|
||||||
|
|
||||||
for(int i=0;i<col;i++) {
|
for(int i=0;i<col;i++) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue