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

NSViewComponentPeer: Fix framesize bug introduced in f73f8ee849

This commit is contained in:
reuk 2021-10-13 18:35:20 +01:00
parent b5064f361f
commit cc2a563725
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -426,8 +426,8 @@ public:
NSRect v = [view convertRect: [view frame] toView: nil];
NSRect w = [window frame];
b.setTop ((int) v.origin.y);
b.setBottom ((int) (w.size.height - (v.origin.y + v.size.height)));
b.setTop ((int) (w.size.height - (v.origin.y + v.size.height)));
b.setBottom ((int) v.origin.y);
b.setLeft ((int) v.origin.x);
b.setRight ((int) (w.size.width - (v.origin.x + v.size.width)));
}