aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/tile_set_editor_plugin.cpp
diff options
context:
space:
mode:
authorGilles Roudiere2018-01-14 14:13:11 +0100
committerGilles Roudiere2018-01-15 10:37:13 +0100
commitb06c6602c8a1a96f72bcbebb2a86176d1e69c79d (patch)
tree2158235a43a448f461a74372ed96dbaf177abb00 /editor/plugins/tile_set_editor_plugin.cpp
parent05b1843818fd07f084816ec506ec505e24f8f02c (diff)
downloadgodot-b06c6602c8a1a96f72bcbebb2a86176d1e69c79d.tar.gz
godot-b06c6602c8a1a96f72bcbebb2a86176d1e69c79d.tar.zst
godot-b06c6602c8a1a96f72bcbebb2a86176d1e69c79d.zip
Diffstat (limited to 'editor/plugins/tile_set_editor_plugin.cpp')
-rw-r--r--editor/plugins/tile_set_editor_plugin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/plugins/tile_set_editor_plugin.cpp b/editor/plugins/tile_set_editor_plugin.cpp
index 612bdb1d2..f47f9e55b 100644
--- a/editor/plugins/tile_set_editor_plugin.cpp
+++ b/editor/plugins/tile_set_editor_plugin.cpp
@@ -304,8 +304,7 @@ TileSetEditorPlugin::TileSetEditorPlugin(EditorNode *p_node) {
tileset_editor = memnew(TileSetEditor(p_node));
add_control_to_container(CONTAINER_CANVAS_EDITOR_MENU, tileset_editor);
- tileset_editor->set_anchors_and_margins_preset(Control::PRESET_WIDE);
- tileset_editor->set_anchor(MARGIN_BOTTOM, Control::ANCHOR_BEGIN);
+ tileset_editor->set_anchors_and_margins_preset(Control::PRESET_TOP_WIDE);
tileset_editor->set_end(Point2(0, 22));
tileset_editor->hide();