1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Cleanup unnecessary code from before the scrollbar overlapping fixes

This commit is contained in:
Michael Alexsander
2020-01-14 18:19:12 -03:00
parent 57986208f3
commit 34bf81fa7c
5 changed files with 21 additions and 56 deletions

View File

@@ -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;