Skip to content

Commit

Permalink
Improved document preview generation
Browse files Browse the repository at this point in the history
  • Loading branch information
flabbet committed Feb 19, 2022
1 parent 6e9cb85 commit 06bc5b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PixiEditor/Models/Controllers/BitmapManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public Document ActiveDocument
activeDocument?.UpdatePreviewImage();
Document oldDoc = activeDocument;
activeDocument = value;
activeDocument?.UpdatePreviewImage();
RaisePropertyChanged(nameof(ActiveDocument));
ActiveWindow = value;
DocumentChanged?.Invoke(this, new DocumentChangedEventArgs(value, oldDoc));
Expand Down

0 comments on commit 06bc5b3

Please sign in to comment.