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

Fixes #8888
This commit is contained in:
Martin Capitanio 2017-05-24 09:40:42 +02:00
parent 2e3145de65
commit 29c5b4c7e6

View file

@ -461,7 +461,7 @@ void InputEventMouseButton::_bind_methods() {
InputEventMouseButton::InputEventMouseButton() { InputEventMouseButton::InputEventMouseButton() {
factor = 0; factor = 1;
button_index = 0; button_index = 0;
pressed = false; pressed = false;
doubleclick = false; doubleclick = false;