diff options
Diffstat (limited to 'tools/editor/plugins/tile_map_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/tile_map_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/plugins/tile_map_editor_plugin.cpp b/tools/editor/plugins/tile_map_editor_plugin.cpp index a5147851a..263ff11f3 100644 --- a/tools/editor/plugins/tile_map_editor_plugin.cpp +++ b/tools/editor/plugins/tile_map_editor_plugin.cpp @@ -1212,8 +1212,8 @@ void TileMapEditor::_icon_size_changed(float p_value) { if (node) { Size2 size = node->get_cell_size() * p_value; palette->set_min_icon_size(size + Size2(4, 0)); //4px gap between tiles - palette->set_icon_stretch_to_max_size(true); - palette->set_max_icon_size(size); + //palette->set_max_icon_size(size); + palette->set_icon_scale(p_value); _update_palette(); } } |
