From 29c5b4c7e6d66f45f01c06b4f77c69a93ca14b39 Mon Sep 17 00:00:00 2001 From: Martin Capitanio Date: Wed, 24 May 2017 09:40:42 +0200 Subject: [PATCH] Fix 2D-editor mouse wheel zoom (x11). Fixes #8888 --- core/os/input_event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/os/input_event.cpp b/core/os/input_event.cpp index 73eaa33dbbb..dbf7944e9a4 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;