summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/os/input_event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/input_event.cpp b/core/os/input_event.cpp
index 73eaa33dbb..dbf7944e9a 100644
--- a/core/os/input_event.cpp
+++ b/core/os/input_event.cpp
@@ -461,7 +461,7 @@ void InputEventMouseButton::_bind_methods() {
InputEventMouseButton::InputEventMouseButton() {
- factor = 0;
+ factor = 1;
button_index = 0;
pressed = false;
doubleclick = false;