mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-16 05:42:32 +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()) {
|
if (msg->onlyCtrlPressed()) {
|
||||||
int z = delta.x - delta.y;
|
int z = delta.x - delta.y;
|
||||||
setBoxSize(m_boxsize / guiscale() + z);
|
setBoxSize(m_boxsize + z);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
gfx::Point scroll = view->getViewScroll();
|
gfx::Point scroll = view->getViewScroll();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user