mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-11 09:40:42 +00:00
Fix Ctrl+mouse wheel in ColorBar to modify the size of each color box when UI Scaling > 100%
This commit is contained in:
parent
b547960984
commit
17bffc81c3
@ -371,7 +371,7 @@ bool PaletteView::onProcessMessage(Message* msg)
|
||||
|
||||
if (msg->onlyCtrlPressed()) {
|
||||
int z = delta.x - delta.y;
|
||||
setBoxSize(m_boxsize / guiscale() + z);
|
||||
setBoxSize(m_boxsize + z);
|
||||
}
|
||||
else {
|
||||
gfx::Point scroll = view->getViewScroll();
|
||||
|
Loading…
x
Reference in New Issue
Block a user