mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 08:46:09 +00:00
Changed the default behaviour in Windows and Linux
This commit makes the default behaviour for changing the brush size to be scroll up to increase brush size, this should already be the case in macOS. Note: It's correct in Windows and Linux, but I don't have a mac to test it with.
This commit is contained in:
parent
b9dfad6b6b
commit
2a00d41e95
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user