mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-30 14:22:28 -06:00
okrokpokrok - WndSetPos fixed for popups
This commit is contained in:
parent
51df22c833
commit
6c076f6d9f
3 changed files with 11 additions and 5 deletions
|
|
@ -595,10 +595,12 @@ void MenuBar::PopUp(Ctrl *owner, Point p, Size rsz)
|
|||
CloseHandle(CreateThread(NULL, 0, PlaySoundThread, NULL, 0, &dummy));
|
||||
#endif
|
||||
doeffect = true;
|
||||
DLOG("===================== MENU POPUP");
|
||||
Ctrl::PopUp(owner, true, true, GUI_DropShadows(), !owner);
|
||||
GuiPlatformAfterMenuPopUp();
|
||||
if(eff)
|
||||
Animate(*this, p.x, p.y, sz.cx, sz.cy);
|
||||
DDUMP(GetScreenRect());
|
||||
sz = GetSize(); // final size can be a bit bigger, e.g. in macos
|
||||
pane.RightPos(0, sz.cx).BottomPos(0, sz.cy);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue