Skip to content

Commit

Permalink
PopupMenu: Ensure that menu appears at the correct position on Window…
Browse files Browse the repository at this point in the history
…s with a hi res display in standalone apps
  • Loading branch information
reuk committed Sep 28, 2021
1 parent c3276f4 commit 84c5627
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/juce_gui_basics/menus/juce_PopupMenu.cpp
Expand Up @@ -374,7 +374,6 @@ struct MenuWindow : public Component

calculateWindowPos (targetArea, alignToRectangle);
setTopLeftPosition (windowPos.getPosition());
updateYPositions();

if (auto visibleID = options.getItemThatMustBeVisible())
{
Expand Down

0 comments on commit 84c5627

Please sign in to comment.