From 6965a063b2afaf63c0b6a6312fcf46c2f672e835 Mon Sep 17 00:00:00 2001 From: Nihanth Subramanya Date: Sun, 29 Jan 2023 11:37:28 +0100 Subject: [PATCH 1/2] Don't set mask attr unless eraser path exists --- packages/react-sketch-canvas/src/Canvas/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-sketch-canvas/src/Canvas/index.tsx b/packages/react-sketch-canvas/src/Canvas/index.tsx index 8dd3bec..24f5f86 100644 --- a/packages/react-sketch-canvas/src/Canvas/index.tsx +++ b/packages/react-sketch-canvas/src/Canvas/index.tsx @@ -391,7 +391,7 @@ release drawing even when point goes out of canvas */ From 3b9cdd74c5942efcebd61df857e4d006a1e26eeb Mon Sep 17 00:00:00 2001 From: Nihanth Subramanya Date: Sun, 29 Jan 2023 12:12:40 +0100 Subject: [PATCH 2/2] fix string --- packages/react-sketch-canvas/src/Canvas/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-sketch-canvas/src/Canvas/index.tsx b/packages/react-sketch-canvas/src/Canvas/index.tsx index 24f5f86..0d4fb21 100644 --- a/packages/react-sketch-canvas/src/Canvas/index.tsx +++ b/packages/react-sketch-canvas/src/Canvas/index.tsx @@ -391,7 +391,7 @@ release drawing even when point goes out of canvas */