mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Profile editor - Fixed easing options not applying
Device properties - Fixed layout changes not saving
This commit is contained in:
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));
|
||||
|
||||
Reference in new issue
Block a user