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

Add option to move Tile/GridMap editors to another side

This commit is contained in:
Michael Alexsander Silva Dias
2018-08-21 01:35:48 -03:00
parent 9c69671611
commit 6fa1b5eca7
8 changed files with 97 additions and 31 deletions

View File

@@ -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();
}