Browse Source

Workaround for new OSX 10.11 behaviour that caused repaint problems when setting window bounds frequently

tags/2021-05-28
jules 10 years ago
parent
commit
d63fe244b3
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm

+ 3
- 1
modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm View File

@@ -261,7 +261,9 @@ public:
else
{
[window setFrame: [window frameRectForContentRect: flippedScreenRect (r)]
display: true];
display: false];
[view setNeedsDisplay: true];
}
}


Loading…
Cancel
Save