mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-29 09:23:32 +00:00
Mouse wheel+shift in color-bar jumps entire columns.
This commit is contained in:
parent
ee878c87e9
commit
129d5a9b13
@ -436,7 +436,7 @@ bool ColorBar::msg_proc(JMessage msg)
|
||||
if (!(msg->any.shifts & (KB_ALT_FLAG |
|
||||
KB_CTRL_FLAG))) {
|
||||
if (msg->any.shifts & KB_SHIFT_FLAG)
|
||||
delta *= m_colorsPerColum/2;
|
||||
delta *= m_colorsPerColum;
|
||||
|
||||
if (((int)m_firstIndex)+delta < 0)
|
||||
m_firstIndex = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user