diff --git a/posts/demos/_posts/2021-05-28-erasing.md b/posts/demos/_posts/2021-05-28-erasing.md index 964669aef..3ed2f2f34 100644 --- a/posts/demos/_posts/2021-05-28-erasing.md +++ b/posts/demos/_posts/2021-05-28-erasing.md @@ -111,6 +111,7 @@ if(eraser) { To achieve erasing, `backgroundColor | overlayColor` must be fabric objects (see **Erasing and the `clipPath`**). Because of this, the mixin extends `fabric.StaticCanvas`. This may cause issues when resizing the canvas. You might need to resize `backgroundColor | overlayColor` as well. +In addition, if you do not want `backgroundColor | overlayColor` to be affected by canvas transforms set canvas' `backgroundVpt | overlayVpt` property to `false`. ```js canvas.setOverlayColor('rgba(0,0,255,0.4)');