From 14a932757399b385c026016c869258bfe3bbc1c8 Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 12 Jan 2022 22:21:04 -0300 Subject: [PATCH] Fix popup menu size when multiple windows UI is disabled Fixed regression introduced in ed595eb6b1fa0967732de7c9f35a658df569b3e6 Reported: - https://community.aseprite.org/t/12497 --- src/ui/menu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/menu.cpp b/src/ui/menu.cpp index d7a96ab9c..7d67afbcf 100644 --- a/src/ui/menu.cpp +++ b/src/ui/menu.cpp @@ -365,6 +365,8 @@ void Menu::showPopup(const gfx::Point& pos, menubox->setMenu(this); menubox->startFilteringMouseDown(); + window->remapWindow(); + fit_bounds(parentDisplay, window.get(), gfx::Rect(pos, window->size()),