Rendering - Fixed render scale not applying until reboot

Debugger - Added button to save the next frame
Device visualizer - Fixed LED positioning on some devices
This commit is contained in:
Robert committed 2021-03-17 19:55:49 +01:00
1 parent 456af693b0
commit 11535508bc
4 files changed
+44 -2

No files matched your search

+5
View File
@@ -44,6 +44,7 @@ namespace Artemis.Core.Services
Surface.Exception += SurfaceOnException;
Surface.SurfaceLayoutChanged += SurfaceOnLayoutChanged;
_targetFrameRateSetting.SettingChanged += TargetFrameRateSettingOnSettingChanged;
_renderScaleSetting.SettingChanged += RenderScaleSettingOnSettingChanged;
_enabledDevices = new List<ArtemisDevice>();
_devices = new List<ArtemisDevice>();
_ledMap = new Dictionary<Led, ArtemisLed>();
@@ -196,6 +197,10 @@ namespace Artemis.Core.Services
}
}
private void RenderScaleSettingOnSettingChanged(object? sender, EventArgs e)
{
_texture?.Invalidate();
}
public void Dispose()
{