1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
jules 2007-11-13 10:25:36 +00:00
parent 771c19a275
commit ee57536ac2

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;