Cleanup unnecessary code from before the scrollbar overlapping fixes
This commit is contained in:
parent
57986208f3
commit
34bf81fa7c
5 changed files with 21 additions and 56 deletions
|
|
@ -1477,7 +1477,6 @@ Polygon2DEditor::Polygon2DEditor(EditorNode *p_editor) :
|
|||
uv_hscroll->set_step(0.001);
|
||||
uv_edit_draw->add_child(uv_hscroll);
|
||||
uv_hscroll->set_anchors_and_margins_preset(PRESET_BOTTOM_WIDE);
|
||||
uv_hscroll->set_margin(MARGIN_RIGHT, -uv_vscroll->get_size().x * EDSCALE);
|
||||
uv_hscroll->connect("value_changed", this, "_uv_scroll_changed");
|
||||
|
||||
bone_scroll_main_vb = memnew(VBoxContainer);
|
||||
|
|
|
|||
|
|
@ -1028,7 +1028,6 @@ TextureRegionEditor::TextureRegionEditor(EditorNode *p_editor) {
|
|||
hscroll->set_step(0.001);
|
||||
edit_draw->add_child(hscroll);
|
||||
hscroll->set_anchors_and_margins_preset(PRESET_BOTTOM_WIDE);
|
||||
hscroll->set_margin(MARGIN_RIGHT, -vscroll->get_size().x * EDSCALE);
|
||||
hscroll->connect("value_changed", this, "_scroll_changed");
|
||||
|
||||
updating_scroll = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue