Explorar el Código

Onion skin doesn't show 0 frame now

flabbet hace 9 meses
padre
commit
d6f6369f98
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/PixiEditor/Models/Rendering/SceneRenderer.cs

+ 1 - 1
src/PixiEditor/Models/Rendering/SceneRenderer.cs

@@ -95,7 +95,7 @@ internal class SceneRenderer
         for (int i = 1; i <= animationData.OnionFrames; i++)
         {
             int frame = DocumentViewModel.AnimationHandler.ActiveFrameTime.Frame + i;
-            if (frame > DocumentViewModel.AnimationHandler.LastFrame)
+            if (frame >= DocumentViewModel.AnimationHandler.LastFrame)
             {
                 break;
             }