Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
muukii committed Mar 29, 2024
1 parent b6ae961 commit a3256a1
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,12 @@ public final class CanvasView: PixelEditorCodeBasedView {
self.resolvedShapeLayers.forEach {
$0.removeFromSuperlayer()
}

CATransaction.begin()
CATransaction.setDisableActions(true)


layers.forEach {
self.layer.addSublayer($0)
}
self.resolvedShapeLayers = layers

CATransaction.commit()


}

}
Expand Down

0 comments on commit a3256a1

Please sign in to comment.