Browse Source

Fix leaving fullscreen from slideshow

Ruben 4 months ago
parent
commit
9314b11798
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/PicView.Avalonia/Navigation/Slideshow.cs

+ 1 - 0
src/PicView.Avalonia/Navigation/Slideshow.cs

@@ -113,6 +113,7 @@ public static class Slideshow
         if (!Settings.WindowProperties.Fullscreen)
         if (!Settings.WindowProperties.Fullscreen)
         {
         {
             await vm.PlatformWindowService.ToggleFullscreen();
             await vm.PlatformWindowService.ToggleFullscreen();
+            Settings.WindowProperties.Fullscreen = false;
         }
         }
 
 
         if (GalleryFunctions.IsFullGalleryOpen || Settings.Gallery.IsBottomGalleryShown)
         if (GalleryFunctions.IsFullGalleryOpen || Settings.Gallery.IsBottomGalleryShown)