Skip to content

Commit

Permalink
Debugger: Fixed blurry previews in tooltips when dpi is not 100%
Browse files Browse the repository at this point in the history
  • Loading branch information
SourMesen committed Oct 2, 2023
1 parent bb57e13 commit 01d95d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions UI/Debugger/Controls/PictureViewer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ public PictureViewer()
VerticalAlignment = VerticalAlignment.Top;
HorizontalAlignment = HorizontalAlignment.Left;
ClipToBounds = true;
RenderOptions.SetBitmapInterpolationMode(this, BitmapInterpolationMode.None);
}

private void OnSourceInvalidated(object? sender, EventArgs e)
Expand Down

0 comments on commit 01d95d6

Please sign in to comment.