There was an error while loading. Please reload this page.
1 parent bf44e6a commit 59affb9Copy full SHA for 59affb9
1 file changed
native/Avalonia.Native/src/OSX/AvnWindow.mm
@@ -348,6 +348,10 @@ - (void)windowDidResize:(NSNotification *_Nonnull)notification
348
349
- (void)windowWillExitFullScreen:(NSNotification *_Nonnull)notification
350
{
351
+ // Prepare the destination appearance before AppKit starts the exit animation.
352
+ if (_isExtended)
353
+ [self setTitlebarAppearsTransparent:true];
354
+
355
auto parent = _parent.tryGetWithCast<IWindowStateChanged>();
356
357
if(parent != nullptr)
0 commit comments