1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Implement zooming using Ctrl + Mouse wheel in the GridMap editor

The minimum value of the slider was changed to 0.2 as zooming
works in increments of 0.2. This way, the value can go back to 1
after you've reached the slider's minimum value.

(cherry picked from commit 4c1b2171b0)
This commit is contained in:
Hugo Locurcio
2019-11-27 20:06:06 +01:00
committed by Rémi Verschelde
parent 68f013317b
commit a45aa3a46f
2 changed files with 23 additions and 2 deletions

View File

@@ -214,6 +214,7 @@ class GridMapEditor : public VBoxContainer {
void _text_changed(const String &p_text);
void _sbox_input(const Ref<InputEvent> &p_ie);
void _mesh_library_palette_input(const Ref<InputEvent> &p_ie);
void _icon_size_changed(float p_value);