mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-12 07:13:23 +00:00
Color palette does not scroll (fix #1796)
This commit is contained in:
parent
71b14fa2d9
commit
5e86884f74
@ -340,6 +340,11 @@ bool PaletteView::onProcessMessage(Message* msg)
|
|||||||
m_delegate->onPaletteViewIndexChange(idx, buttons);
|
m_delegate->onPaletteViewIndexChange(idx, buttons);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_state == State::DRAGGING_OUTLINE &&
|
||||||
|
m_hot.part == Hit::COLOR) {
|
||||||
|
update_scroll(m_hot.color);
|
||||||
|
}
|
||||||
|
|
||||||
if (hasCapture())
|
if (hasCapture())
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user