Fix correct hot region for dynamics dialog

This commit is contained in:
David Capello 2021-03-22 11:56:02 -03:00
parent 103a8087cc
commit 5cd66b58f1

View File

@ -1159,8 +1159,9 @@ public:
fit_bounds(display(), m_popup.get(),
gfx::Rect(gfx::Point(bounds.x, bounds.y2()),
m_popup->sizeHint()));
m_popup->setHotRegion(gfx::Region(m_popup->boundsOnScreen()));
m_popup->openWindow();
m_popup->setHotRegion(gfx::Region(m_popup->boundsOnScreen()));
}
const tools::DynamicsOptions& getDynamics() const {