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

NSViewComponentPeer: Fix bug where OpenGLViews would fail to display after window deminiaturization

This bug was introduced in 869760cb2a
This commit is contained in:
reuk 2022-08-25 11:52:55 +01:00
parent bc177c2252
commit 20584cf201

View file

@ -429,7 +429,7 @@ public:
scopedObservers.emplace_back (view, frameChangedSelector, NSWindowDidMoveNotification, window);
scopedObservers.emplace_back (view, frameChangedSelector, NSWindowDidMiniaturizeNotification, window);
scopedObservers.emplace_back (view, @selector (windowWillMiniaturize:), NSWindowWillMiniaturizeNotification, window);
scopedObservers.emplace_back (view, @selector (windowDidMiniaturize:), NSWindowDidMiniaturizeNotification, window);
scopedObservers.emplace_back (view, @selector (windowDidDeminiaturize:), NSWindowDidDeminiaturizeNotification, window);
}
auto alpha = component.getAlpha();