Fix wrong position of LineEdit in Scene editor
This commit is contained in:
parent
e5c5f58085
commit
66eb28b945
|
@ -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 a new issue