You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
renamed all Rect2.pos to Rect2.position
This commit is contained in:
@@ -675,14 +675,14 @@ void Polygon2DEditor::_uv_draw() {
|
||||
|
||||
rect = rect.grow(200);
|
||||
updating_uv_scroll = true;
|
||||
uv_hscroll->set_min(rect.pos.x);
|
||||
uv_hscroll->set_max(rect.pos.x + rect.size.x);
|
||||
uv_hscroll->set_min(rect.position.x);
|
||||
uv_hscroll->set_max(rect.position.x + rect.size.x);
|
||||
uv_hscroll->set_page(uv_edit_draw->get_size().x);
|
||||
uv_hscroll->set_value(uv_draw_ofs.x);
|
||||
uv_hscroll->set_step(0.001);
|
||||
|
||||
uv_vscroll->set_min(rect.pos.y);
|
||||
uv_vscroll->set_max(rect.pos.y + rect.size.y);
|
||||
uv_vscroll->set_min(rect.position.y);
|
||||
uv_vscroll->set_max(rect.position.y + rect.size.y);
|
||||
uv_vscroll->set_page(uv_edit_draw->get_size().y);
|
||||
uv_vscroll->set_value(uv_draw_ofs.y);
|
||||
uv_vscroll->set_step(0.001);
|
||||
|
||||
Reference in New Issue
Block a user