To test, scaled down rendering to 25%

This commit is contained in:
Robert committed 2019-10-25 17:30:07 +02:00
1 parent 28fc7b5dcc
commit c7790c1d82
5 files changed
+23 -11

No files matched your search

@@ -38,7 +38,10 @@ namespace Artemis.UI.ViewModels.Screens
var imageSource = ImageSourceFromBitmap(e.Bitmap);
imageSource.Freeze();
CurrentFps = Math.Round(1.0 / e.DeltaTime, 2);
Execute.OnUIThread(() => CurrentFrame = imageSource);
Execute.OnUIThread(() =>
{
CurrentFrame = imageSource;
});
}
protected override void OnClose()