Minor change in macros to detect platform

This commit is contained in:
David Capello 2022-05-05 09:39:16 -03:00
parent 50707117f6
commit adaef68bbb

View File

@ -190,7 +190,7 @@ bool StateWithWheelBehavior::onMouseWheel(Editor* editor, MouseMessage* msg)
ToolPreferences::Brush& brush =
Preferences::instance().tool(tool).brush;
#if defined(_WIN32) || defined(__linux__)
#if LAF_WINDOWS || LAF_LINUX
// By default on macOS the mouse wheel is correct, up increase
// brush size, and down decrease it. But on Windows and Linux
// it's inverted.