1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Allow selecting frames by holding down the mouse in SpriteFrames editor

This complements the existing (Ctrl +) Shift + Left mouse button
multiple frame (de)selection.
This commit is contained in:
Hugo Locurcio
2021-04-11 18:53:23 +02:00
parent 13c4796693
commit 5e8eb20ad6
2 changed files with 47 additions and 8 deletions

View File

@@ -87,6 +87,7 @@ class SpriteFramesEditor : public HSplitContainer {
Button *split_sheet_zoom_in;
EditorFileDialog *file_split_sheet;
Set<int> frames_selected;
Set<int> frames_toggled_by_mouse_hover;
int last_frame_selected;
float scale_ratio;