1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-21 01:24:21 +00:00

small fix for AU window position when resized in cocoa hosts.

This commit is contained in:
Julian Storer 2009-09-09 20:53:54 +01:00
parent fe5eaa5f19
commit 7b254201fa

View file

@ -978,7 +978,6 @@ public:
NSView* view = (NSView*) getWindowHandle();
NSRect r = [[view superview] frame];
r.origin.y = r.origin.y + r.size.height - component.getHeight();
r.size.width = component.getWidth();
r.size.height = component.getHeight();
[[view superview] setFrame: r];