Profile editor - Fixed easing options not applying

Device properties - Fixed layout changes not saving
This commit is contained in:
Robert committed 2023-10-06 21:28:02 +02:00
1 parent e866afbfb0
commit f985682e78
8 files changed
+36 -43

No files matched your search

@@ -31,11 +31,6 @@ public interface IRenderService : IArtemisService
/// </summary>
bool IsPaused { get; set; }
/// <summary>
/// Gets or sets a boolean indicating whether to flush the RGB.NET LEDs during next update
/// </summary>
bool FlushLeds { get; set; }
/// <summary>
/// The time the last frame took to render
/// </summary>
@@ -70,21 +70,10 @@ internal class RenderService : IRenderService, IRenderer, IDisposable
/// <inheritdoc />
public TimeSpan FrameTime { get; private set; }
/// <inheritdoc />
public bool FlushLeds { get; set; }
/// <inheritdoc />
public void Render(SKCanvas canvas, double delta)
{
_frameStopWatch.Restart();
if (FlushLeds)
{
FlushLeds = false;
Surface.Update(true);
return;
}
try
{
OnFrameRendering(new FrameRenderingEventArgs(canvas, delta, _surfaceManager.Surface));