mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-26 12:35:33 +00:00
Make PalettePopup hot-region a little bigger
This commit is contained in:
parent
62ef5c5830
commit
3704cb0ae4
@ -66,6 +66,10 @@ void PalettePopup::showPopup(const gfx::Rect& bounds)
|
||||
m_paletteListBox.selectChild(NULL);
|
||||
|
||||
moveWindow(bounds);
|
||||
|
||||
// Setup the hot-region
|
||||
setHotRegion(gfx::Region(gfx::Rect(bounds).enlarge(32 * jguiscale())));
|
||||
|
||||
openWindow();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user