mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Move the "invert wheel for brush size" option to Edit > Keyboard Shortcuts > Mouse Wheel
This commit is contained in:
parent
04903692f9
commit
7fea99a718
@ -171,7 +171,7 @@
|
||||
<option id="zoom_with_slide" type="bool" default="false" />
|
||||
<option id="zoom_from_center_with_wheel" type="bool" default="false" />
|
||||
<option id="zoom_from_center_with_keys" type="bool" default="false" />
|
||||
<option id="invert_brush_size_scroll" type="bool" default="false" />
|
||||
<option id="invert_brush_size_wheel" type="bool" default="false" />
|
||||
<option id="show_scrollbars" type="bool" default="true" />
|
||||
<option id="auto_scroll" type="bool" default="true" />
|
||||
<option id="right_click_mode" type="RightClickMode" default="RightClickMode::PAINT_BGCOLOR" />
|
||||
|
@ -799,6 +799,7 @@ section_mouse_wheel = Mouse Wheel
|
||||
default_wheel_behavior = Default
|
||||
custom_wheel_behavior = Custom
|
||||
slide_as_wheel = Interpret two fingers slide on Trackpad as mouse wheel
|
||||
invert_brush_size_wheel = Invert the mouse wheel direction for increasing the brush size
|
||||
ok = &OK
|
||||
cancel = &Cancel
|
||||
|
||||
@ -1126,7 +1127,6 @@ wheel_zoom = Zoom with scroll wheel
|
||||
slide_zoom = Zoom sliding two fingers up or down
|
||||
zoom_from_center_with_wheel = Zoom from center with scroll wheel
|
||||
zoom_from_center_with_keys = Zoom from center with keys
|
||||
invert_brush_size_scroll = Invert the scrolling direction for increasing the brush size
|
||||
show_scrollbars = Show scroll-bars in sprite editor
|
||||
show_scrollbars_tooltip = Show scroll-bars in all sprite editors.
|
||||
auto_scroll = Auto-scroll on editor edges
|
||||
|
@ -49,6 +49,8 @@
|
||||
pref="editor.zoom_with_wheel" />
|
||||
<check text="@options.slide_zoom" id="slide_zoom"
|
||||
pref="editor.zoom_with_slide" />
|
||||
<check text="@.invert_brush_size_wheel" id="invert_brush_size_scroll"
|
||||
pref="editor.invert_brush_size_wheel" />
|
||||
<view expansive="true">
|
||||
<listbox id="wheel_actions" />
|
||||
</view>
|
||||
|
@ -224,7 +224,6 @@
|
||||
pref="editor.zoom_with_slide" />
|
||||
<check text="@.zoom_from_center_with_wheel" id="zoom_from_center_with_wheel" />
|
||||
<check text="@.zoom_from_center_with_keys" id="zoom_from_center_with_keys" />
|
||||
<check text="@.invert_brush_size_scroll" id="invert_brush_size_scroll" />
|
||||
<check text="@.show_scrollbars" id="show_scrollbars" tooltip="@.show_scrollbars_tooltip" />
|
||||
<check text="@.auto_scroll" id="auto_scroll" />
|
||||
<check text="@.auto_fit" id="auto_fit"
|
||||
|
@ -318,9 +318,6 @@ public:
|
||||
if (m_pref.editor.zoomFromCenterWithKeys())
|
||||
zoomFromCenterWithKeys()->setSelected(true);
|
||||
|
||||
if (m_pref.editor.invertBrushSizeScroll())
|
||||
invertBrushSizeScroll()->setSelected(true);
|
||||
|
||||
if (m_pref.selection.autoOpaque())
|
||||
autoOpaque()->setSelected(true);
|
||||
|
||||
@ -628,7 +625,6 @@ public:
|
||||
|
||||
m_pref.editor.zoomFromCenterWithWheel(zoomFromCenterWithWheel()->isSelected());
|
||||
m_pref.editor.zoomFromCenterWithKeys(zoomFromCenterWithKeys()->isSelected());
|
||||
m_pref.editor.invertBrushSizeScroll(invertBrushSizeScroll()->isSelected());
|
||||
m_pref.editor.showScrollbars(showScrollbars()->isSelected());
|
||||
m_pref.editor.autoScroll(autoScroll()->isSelected());
|
||||
m_pref.editor.straightLinePreview(straightLinePreview()->isSelected());
|
||||
|
@ -199,7 +199,7 @@ bool StateWithWheelBehavior::onMouseWheel(Editor* editor, MouseMessage* msg)
|
||||
|
||||
// We can configure the mouse wheel for brush size to behave as
|
||||
// in previous versions.
|
||||
if (Preferences::instance().editor.invertBrushSizeScroll())
|
||||
if (Preferences::instance().editor.invertBrushSizeWheel())
|
||||
dz = -dz;
|
||||
|
||||
brush.size(
|
||||
|
Loading…
x
Reference in New Issue
Block a user