mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-03 16:20:20 +00:00
Minor change in macros to detect platform
This commit is contained in:
parent
50707117f6
commit
adaef68bbb
@ -190,7 +190,7 @@ bool StateWithWheelBehavior::onMouseWheel(Editor* editor, MouseMessage* msg)
|
|||||||
ToolPreferences::Brush& brush =
|
ToolPreferences::Brush& brush =
|
||||||
Preferences::instance().tool(tool).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
|
// By default on macOS the mouse wheel is correct, up increase
|
||||||
// brush size, and down decrease it. But on Windows and Linux
|
// brush size, and down decrease it. But on Windows and Linux
|
||||||
// it's inverted.
|
// it's inverted.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user