summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMartin Capitanio <capnm@capitanio.org>2017-05-24 09:40:42 +0200
committerMartin Capitanio <capnm@capitanio.org>2017-05-24 10:02:43 +0200
commit29c5b4c7e6d66f45f01c06b4f77c69a93ca14b39 (patch)
tree6d3d41356e19ad46c72a0eac0a37febb6f47f4b4 /core
parent2e3145de65257ed39a5d01c5592ea0fb90cd00ba (diff)
Fix 2D-editor mouse wheel zoom (x11).
Fixes #8888
Diffstat (limited to 'core')
-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;