@mhamz.01/easyflow-whiteboard 2.144.0 → 2.146.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -168,11 +168,11 @@ export default React.memo(function CanvasOverlayLayer({ tasks, documents, onTask
168
168
  };
169
169
  canvas.on("object:moving", handleObjectMoving);
170
170
  canvas.on("mouse:down", handleMouseDown);
171
- // canvas.on("selection:cleared", handleSelectionCleared);
171
+ canvas.on("selection:cleared", handleSelectionCleared);
172
172
  return () => {
173
173
  canvas.off("object:moving", handleObjectMoving);
174
174
  canvas.off("mouse:down", handleMouseDown);
175
- // canvas.off("selection:cleared", handleSelectionCleared);
175
+ canvas.off("selection:cleared", handleSelectionCleared);
176
176
  if (fabricMoveRafRef.current !== null) {
177
177
  cancelAnimationFrame(fabricMoveRafRef.current);
178
178
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mhamz.01/easyflow-whiteboard",
3
- "version": "2.144.0",
3
+ "version": "2.146.0",
4
4
  "description": "A feature-rich whiteboard component built with Fabric.js and React",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",