Browse Source

tags/2021-05-28
jules 17 years ago
parent
commit
ee57536ac2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/juce_appframework/gui/components/menus/juce_PopupMenu.cpp

+ 2
- 2
src/juce_appframework/gui/components/menus/juce_PopupMenu.cpp View File

@@ -870,7 +870,7 @@ private:
const Rectangle mon (Desktop::getInstance()
.getMonitorAreaContaining ((minX + maxX) / 2,
(minY + maxY) / 2,
false));
true));
int x, y, widthToUse, heightToUse;
layoutMenuItems (mon.getWidth() - 24, widthToUse, heightToUse);
@@ -1038,7 +1038,7 @@ private:
const Rectangle mon (Desktop::getInstance()
.getMonitorAreaContaining (windowPos.getX(),
windowPos.getY(),
false));
true));
int deltaY = wantedY - currentY;


Loading…
Cancel
Save