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

@@ -78,7 +78,7 @@ namespace Artemis.UI.Shared
penBrush.Freeze();
// Create transparent pixels covering the entire LedRect so the image size matched the LedRect size
drawingContext.DrawRectangle(new SolidColorBrush(Colors.Transparent), null, LedRect);
drawingContext.DrawRectangle(new SolidColorBrush(Colors.Transparent), new Pen(new SolidColorBrush(Colors.Transparent), 1), LedRect);
// Translate to the top-left of the LedRect
drawingContext.PushTransform(new TranslateTransform(LedRect.X, LedRect.Y));
// Render the LED geometry