Various fixes

This commit is contained in:
Ilya Laktyushin
2022-12-25 12:09:02 +04:00
parent c084c410b0
commit 8c57b9eef0
6 changed files with 38 additions and 38 deletions

View File

@@ -228,7 +228,7 @@ final class PenTool: DrawingElement {
func setupRenderLayer() -> DrawingRenderLayer? {
return nil
}
func updatePath(_ point: DrawingPoint, state: DrawingGesturePipeline.DrawingGestureState) {
let result = self.addPoint(point, state: state)
let resetActiveRect = result?.0 ?? false