@mhamz.01/easyflow-whiteboard 2.137.0 → 2.139.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.
@@ -5,7 +5,7 @@ import { classRegistry } from "fabric";
5
5
  import { useWhiteboardStore } from "../../store/whiteboard-store";
6
6
  import WhiteboardToolbar from "../toolbar/whiteboard-toolbar";
7
7
  import ToolOptionsPanel from "../toolbar/tooloptions-panel";
8
- import CanvasOverlayLayer from "../node/custom-node-overlay-layer";
8
+ import CanvasOverlayLayer from "../node/custom-node-overlay-fix";
9
9
  import ZoomControls from "../zoomcontrol/zoom-control";
10
10
  import { Frame } from "../../lib/fabric-frame";
11
11
  // Import all hooks
@@ -55,7 +55,7 @@ const MemoizedOverlayWrapper = React.memo(function OverlayWrapper({ tasks, docum
55
55
  setCanvasViewport({ x: vpX, y: vpY });
56
56
  };
57
57
  // Update on viewport change
58
- canvas.on("viewport:changed", updateViewport);
58
+ canvas.on("after:render", updateViewport);
59
59
  updateViewport(); // Initial sync
60
60
  return () => {
61
61
  canvas.off("viewport:changed", updateViewport);
package/dist/styles.css CHANGED
@@ -62,8 +62,6 @@
62
62
  --blur-2xl: 40px;
63
63
  --default-transition-duration: 150ms;
64
64
  --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
65
- --default-font-family: var(--font-sans);
66
- --default-mono-font-family: var(--font-mono);
67
65
  }
68
66
  }
69
67
  @layer utilities {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mhamz.01/easyflow-whiteboard",
3
- "version": "2.137.0",
3
+ "version": "2.139.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",