mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 03:07:56 +01:00
[Peek]Fix image aliasing (#32669)
This commit is contained in:
@@ -275,8 +275,8 @@ namespace Peek.FilePreviewer.Previewers
|
||||
else
|
||||
{
|
||||
var bitmap = new BitmapImage();
|
||||
await bitmap.SetSourceAsync(stream.AsRandomAccessStream());
|
||||
Preview = bitmap;
|
||||
await bitmap.SetSourceAsync(stream.AsRandomAccessStream());
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user