Make PalettePopup hot-region a little bigger

This commit is contained in:
David Capello 2014-08-31 14:31:13 -03:00
parent 62ef5c5830
commit 3704cb0ae4

View File

@ -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();
}