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

Implement zooming using Ctrl + Mouse wheel in the TileMap editor

This was previously implemented in the GridMap editor. This makes
the same feature available in the TileMap editor.
This commit is contained in:
Hugo Locurcio
2020-05-30 12:08:30 +02:00
parent dc67d0737b
commit def2059d67
2 changed files with 17 additions and 0 deletions

View File

@@ -182,6 +182,7 @@ class TileMapEditor : public VBoxContainer {
void _menu_option(int p_option);
void _palette_selected(int index);
void _palette_multi_selected(int index, bool selected);
void _palette_input(const Ref<InputEvent> &p_event);
Dictionary _create_cell_dictionary(int tile, bool flip_x, bool flip_y, bool transpose, Vector2 autotile_coord);
void _start_undo(const String &p_action);