summaryrefslogtreecommitdiffstats
path: root/editor/plugins/tile_set_editor_plugin.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-12-14 20:48:47 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-12-14 20:49:43 +0100
commit980e962bb89ea43831a901b594cdc80cf9ade67e (patch)
tree5ec42a14b590f44f6ebc5c61677d202e3000eae8 /editor/plugins/tile_set_editor_plugin.cpp
parent37f664b1a524226a4292a6bd2e613a740f634de2 (diff)
downloadredot-engine-980e962bb89ea43831a901b594cdc80cf9ade67e.tar.gz
Increase the TileSet and polygon UV editor zoom limits to 16×
This also changes the TileSet editor's minimum zoom to match other 2D editors. This closes #34346.
Diffstat (limited to 'editor/plugins/tile_set_editor_plugin.cpp')
-rw-r--r--editor/plugins/tile_set_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/tile_set_editor_plugin.cpp b/editor/plugins/tile_set_editor_plugin.cpp
index 66935d047b..18e076aed6 100644
--- a/editor/plugins/tile_set_editor_plugin.cpp
+++ b/editor/plugins/tile_set_editor_plugin.cpp
@@ -637,8 +637,8 @@ TileSetEditor::TileSetEditor(EditorNode *p_editor) {
tile_names_visible = false;
// Config scale.
- max_scale = 10.0f;
- min_scale = 0.1f;
+ max_scale = 16.0f;
+ min_scale = 0.01f;
scale_ratio = 1.2f;
}