We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 354b04b commit e50a277Copy full SHA for e50a277
Flow.Launcher/Helper/WallpaperPathRetrieval.cs
@@ -76,7 +76,7 @@ public static Brush GetWallpaperBrush()
76
// Set DecodePixelWidth and DecodePixelHeight to resize the image while preserving aspect ratio
77
var bitmap = new BitmapImage();
78
bitmap.BeginInit();
79
- bitmap.CacheOption = BitmapCacheOption.OnLoad; // Use OnLoaded to ensure the wallpaper file is not locked
+ bitmap.CacheOption = BitmapCacheOption.OnLoad; // Use OnLoad to ensure the wallpaper file is not locked
80
bitmap.UriSource = new Uri(wallpaperPath);
81
bitmap.CreateOptions = BitmapCreateOptions.IgnoreColorProfile;
82
bitmap.DecodePixelWidth = decodedPixelWidth;
0 commit comments