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:
parent
b5064f361f
commit
cc2a563725
1 changed files with 2 additions and 2 deletions
|
|
@ -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)));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue