Browse Source

Fixed rounding error

flabbet 8 months ago
parent
commit
4d9a169016

+ 1 - 1
src/Drawie

@@ -1 +1 @@
-Subproject commit f594ce467f0834a1ce34ab88d892a13a26694d80
+Subproject commit 53075856f14518af3f0b59910a9b9d8339368347

+ 1 - 1
src/PixiEditor.ChangeableDocument/Changeables/Graph/Nodes/ImageLayerNode.cs

@@ -98,7 +98,7 @@ public class ImageLayerNode : LayerNode, IReadOnlyImageNode
         }
         else
         {
-            workingSurface.Canvas.DrawSurface(fullResrenderedSurface.DrawingSurface, -(VecI)topLeft, paint);
+            workingSurface.Canvas.DrawSurface(fullResrenderedSurface.DrawingSurface, -topLeft, paint);
         }
 
         workingSurface.Canvas.RestoreToCount(saved);