aboutsummaryrefslogtreecommitdiff
path: root/modules/gridmap/grid_map_editor_plugin.cpp
diff options
context:
space:
mode:
authorkubecz3k2017-08-15 22:55:49 +0200
committerGitHub2017-08-15 22:55:49 +0200
commit129ebca41d8ed85830580c593eafa2a8637cb5be (patch)
treef357e95da9894f88b6c6910a087a710b2a62b64b /modules/gridmap/grid_map_editor_plugin.cpp
parentaa24ddc59f723ba51ea752d32f092ca5e7b6b9e3 (diff)
parent0041e08f747f5d29ca7fbc65eb86175983aa84af (diff)
downloadgodot-129ebca41d8ed85830580c593eafa2a8637cb5be.tar.gz
godot-129ebca41d8ed85830580c593eafa2a8637cb5be.tar.zst
godot-129ebca41d8ed85830580c593eafa2a8637cb5be.zip
Merge pull request #9889 from groud/control_enhancements
Control node enhancements
Diffstat (limited to 'modules/gridmap/grid_map_editor_plugin.cpp')
-rw-r--r--modules/gridmap/grid_map_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gridmap/grid_map_editor_plugin.cpp b/modules/gridmap/grid_map_editor_plugin.cpp
index 954e865bc..38f58799d 100644
--- a/modules/gridmap/grid_map_editor_plugin.cpp
+++ b/modules/gridmap/grid_map_editor_plugin.cpp
@@ -1203,7 +1203,7 @@ GridMapEditor::GridMapEditor(EditorNode *p_editor) {
edit_mode = memnew(OptionButton);
edit_mode->set_area_as_parent_rect();
edit_mode->set_anchor_and_margin(MARGIN_BOTTOM, ANCHOR_BEGIN, 24);
- edit_mode->set_anchor_and_margin(MARGIN_RIGHT, ANCHOR_END, 14);
+ edit_mode->set_anchor_and_margin(MARGIN_RIGHT, ANCHOR_END, -14);
edit_mode->add_item("Tiles");
edit_mode->add_item("Areas");
hb->add_child(edit_mode);