You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-26 15:46:23 +00:00
SpriteFramesEditor Reallow deselecting frame with LMB press in select frames dialog
This commit is contained in:
@@ -172,7 +172,7 @@ void SpriteFramesEditor::_sheet_preview_input(const Ref<InputEvent> &p_event) {
|
|||||||
// Prevent double-toggling the same frame when moving the mouse when the mouse button is still held.
|
// Prevent double-toggling the same frame when moving the mouse when the mouse button is still held.
|
||||||
frames_toggled_by_mouse_hover.insert(idx);
|
frames_toggled_by_mouse_hover.insert(idx);
|
||||||
|
|
||||||
if (mb->get_control()) {
|
if (frames_selected.has(idx)) {
|
||||||
frames_selected.erase(idx);
|
frames_selected.erase(idx);
|
||||||
} else {
|
} else {
|
||||||
frames_selected.insert(idx);
|
frames_selected.insert(idx);
|
||||||
|
|||||||
Reference in New Issue
Block a user