@canvas-harness/core 0.1.15 → 0.1.16
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.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2595,7 +2595,7 @@ var idleInteractionState = () => ({
|
|
|
2595
2595
|
});
|
|
2596
2596
|
var isMoving = (state) => {
|
|
2597
2597
|
const m = state.mode;
|
|
2598
|
-
return m === "panning" || m === "zooming" || m === "dragging" || m === "resizing" || m === "rotating";
|
|
2598
|
+
return m === "panning" || m === "zooming" || m === "dragging" || m === "resizing" || m === "rotating" || m === "marqueeing";
|
|
2599
2599
|
};
|
|
2600
2600
|
|
|
2601
2601
|
// src/store/inverse-op.ts
|
|
@@ -4905,7 +4905,7 @@ var createRenderer = (opts) => {
|
|
|
4905
4905
|
const excludedEdges = midpointEdgeId !== null ? /* @__PURE__ */ new Set([...baseExcludedEdges ?? [], midpointEdgeId]) : baseExcludedEdges;
|
|
4906
4906
|
paintBackground(surface.ctx, { viewport, zoom: camera.z, background });
|
|
4907
4907
|
const visible = visibleNodes(camera, viewport);
|
|
4908
|
-
const isMoving2 = interaction
|
|
4908
|
+
const isMoving2 = isMoving(interaction);
|
|
4909
4909
|
const minOnScreen = MIN_ON_SCREEN_SIZE_PX;
|
|
4910
4910
|
const nextOverlaySet = /* @__PURE__ */ new Set();
|
|
4911
4911
|
let drawn = 0;
|