diff --git a/src/app/ui/editor/state_with_wheel_behavior.cpp b/src/app/ui/editor/state_with_wheel_behavior.cpp index 73bc08763..9d70c8331 100644 --- a/src/app/ui/editor/state_with_wheel_behavior.cpp +++ b/src/app/ui/editor/state_with_wheel_behavior.cpp @@ -190,6 +190,10 @@ bool StateWithWheelBehavior::onMouseWheel(Editor* editor, MouseMessage* msg) ToolPreferences::Brush& brush = Preferences::instance().tool(tool).brush; +#if defined(_WIN32) || defined(__linux__) + dz = -dz; +#endif + int newBrushSize; if (Preferences::instance().editor.invertBrushSizeScroll()) newBrushSize = int(brush.size()-dz);