diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-08-23 09:04:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-23 09:04:12 +0200 |
commit | 18e1268cd74a22f78454bb6c270c761466504b54 (patch) | |
tree | dc30289213e9454e6c72237b16c4c53fb6546a40 /editor/plugins/tile_set_editor_plugin.cpp | |
parent | 0c0aa5fc6f50374beb9add3a7f7bcdd5ddaeb287 (diff) | |
parent | 6fa1b5eca7bfcc32c4f9284819a7c3e87b08ad3c (diff) |
Merge pull request #21254 from YeldhamDev/tile_grid_map_side
Add option to move Tile/GridMap editors to another side
Diffstat (limited to 'editor/plugins/tile_set_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/tile_set_editor_plugin.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/editor/plugins/tile_set_editor_plugin.cpp b/editor/plugins/tile_set_editor_plugin.cpp index 1f891fe0fd..55a04a51b3 100644 --- a/editor/plugins/tile_set_editor_plugin.cpp +++ b/editor/plugins/tile_set_editor_plugin.cpp @@ -2382,11 +2382,9 @@ TileSetEditorPlugin::TileSetEditorPlugin(EditorNode *p_node) { editor = p_node; tileset_editor = memnew(TileSetEditor(p_node)); - tileset_editor_button = - p_node->add_bottom_panel_item(TTR("Tile Set"), tileset_editor); - tileset_editor_button->set_tooltip(TTR("Tile Set Editor")); - tileset_editor->set_custom_minimum_size(Size2(0, 200) * EDSCALE); tileset_editor->hide(); + + tileset_editor_button = p_node->add_bottom_panel_item(TTR("Tile Set"), tileset_editor); tileset_editor_button->hide(); } |