You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
renamed all Rect2.pos to Rect2.position
This commit is contained in:
@@ -3846,7 +3846,7 @@ void EditorNode::_dock_select_draw() {
|
||||
unusable.a = 0.1;
|
||||
|
||||
Rect2 unr(s.x * 2, 0, s.x * 2, s.y * 2);
|
||||
unr.pos += Vector2(2, 5);
|
||||
unr.position += Vector2(2, 5);
|
||||
unr.size -= Vector2(4, 7);
|
||||
|
||||
dock_select->draw_rect(unr, unusable);
|
||||
@@ -3899,7 +3899,7 @@ void EditorNode::_dock_select_draw() {
|
||||
|
||||
Rect2 r(ofs, s);
|
||||
dock_select_rect[i] = r;
|
||||
r.pos += Vector2(2, 5);
|
||||
r.position += Vector2(2, 5);
|
||||
r.size -= Vector2(4, 7);
|
||||
|
||||
if (i == dock_select_rect_over) {
|
||||
|
||||
Reference in New Issue
Block a user