Explorar o código

Fix 2D-editor mouse wheel zoom (x11).

Fixes #8888
Martin Capitanio %!s(int64=8) %!d(string=hai) anos
pai
achega
29c5b4c7e6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/os/input_event.cpp

+ 1 - 1
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;