diff options
author | Danil Alexeev <danil@alexeev.xyz> | 2023-01-09 12:14:51 +0300 |
---|---|---|
committer | Danil Alexeev <danil@alexeev.xyz> | 2023-01-09 12:17:48 +0300 |
commit | 9b3da766401e2cadc8059f17c65b0023b8085bda (patch) | |
tree | 8199ae3fe2924cff2490d63d7c90406b4f68b4d7 /scene/gui | |
parent | b6be2ac62153929ff7be0800cab5b0a7b95946a8 (diff) |
Fix unpressable buttons
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/base_button.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/base_button.h b/scene/gui/base_button.h index f5a7ce5c82..f7c864c5fb 100644 --- a/scene/gui/base_button.h +++ b/scene/gui/base_button.h @@ -46,7 +46,7 @@ public: }; private: - BitField<MouseButtonMask> button_mask; + BitField<MouseButtonMask> button_mask = MouseButtonMask::LEFT; bool toggle_mode = false; bool shortcut_in_tooltip = true; bool was_mouse_pressed = false; |