summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2023-02-08 01:17:40 +0100
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2023-02-08 01:17:40 +0100
commit39d79ce2170dd4b62d739e30e430991a70913173 (patch)
treeae0da0586eae948ca94ab1b5ecdf3d61c7b24fc2 /core
parenta05670c617abc1df93ebac5afacf3e6c48008a99 (diff)
Fix mouse-button-mask on button release in unit test
On mouse-button release, the mask is 0.
Diffstat (limited to 'core')
-rw-r--r--core/input/input_enums.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/input/input_enums.h b/core/input/input_enums.h
index 02efde2d30..7974ee639d 100644
--- a/core/input/input_enums.h
+++ b/core/input/input_enums.h
@@ -122,6 +122,7 @@ enum class MouseButton {
};
enum class MouseButtonMask {
+ NONE = 0,
LEFT = (1 << (int(MouseButton::LEFT) - 1)),
RIGHT = (1 << (int(MouseButton::RIGHT) - 1)),
MIDDLE = (1 << (int(MouseButton::MIDDLE) - 1)),