mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-06 14:59:50 +00:00
Fix popup menu size when multiple windows UI is disabled
Fixed regression introduced in ed595eb6b1
Reported:
- https://community.aseprite.org/t/12497
This commit is contained in:
parent
c780ff3e75
commit
14a9327573
@ -365,6 +365,8 @@ void Menu::showPopup(const gfx::Point& pos,
|
|||||||
menubox->setMenu(this);
|
menubox->setMenu(this);
|
||||||
menubox->startFilteringMouseDown();
|
menubox->startFilteringMouseDown();
|
||||||
|
|
||||||
|
window->remapWindow();
|
||||||
|
|
||||||
fit_bounds(parentDisplay,
|
fit_bounds(parentDisplay,
|
||||||
window.get(),
|
window.get(),
|
||||||
gfx::Rect(pos, window->size()),
|
gfx::Rect(pos, window->size()),
|
||||||
|
Loading…
Reference in New Issue
Block a user