Rotating PKCanvasView

Hello,

I'm using PencilKit and I'd like to implement a canvas rotation feature. I was able to rotate the PKCanvasView with:
Code Block
canvas.transform = canvas.transform.rotated(by: sender.rotation)

However, the Pixel Eraser size is changing unexpectedly when the canvas is rotated. Any ideas?





Rotating PKCanvasView
 
 
Q