canvu-react 0.3.21 → 0.3.23
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/react.cjs +3 -7
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +3 -7
- package/dist/react.js.map +1 -1
- package/dist/realtime.cjs +1 -6
- package/dist/realtime.cjs.map +1 -1
- package/dist/realtime.js +1 -6
- package/dist/realtime.js.map +1 -1
- package/package.json +1 -1
package/dist/react.cjs
CHANGED
|
@@ -6532,9 +6532,7 @@ function PresenceRemoteLayer({
|
|
|
6532
6532
|
size: LUCIDE_POINTER_VIEWBOX,
|
|
6533
6533
|
color,
|
|
6534
6534
|
fill: color,
|
|
6535
|
-
stroke: "
|
|
6536
|
-
strokeWidth: 1.25,
|
|
6537
|
-
absoluteStrokeWidth: true,
|
|
6535
|
+
stroke: "none",
|
|
6538
6536
|
"aria-hidden": true
|
|
6539
6537
|
}
|
|
6540
6538
|
)
|
|
@@ -6546,9 +6544,6 @@ function PresenceRemoteLayer({
|
|
|
6546
6544
|
x: cur.x + labelOffsetX,
|
|
6547
6545
|
y: cur.y + labelOffsetY,
|
|
6548
6546
|
fill: color,
|
|
6549
|
-
stroke: "#ffffff",
|
|
6550
|
-
strokeWidth: 2.5 / z,
|
|
6551
|
-
paintOrder: "stroke",
|
|
6552
6547
|
style: {
|
|
6553
6548
|
fontSize: labelFont,
|
|
6554
6549
|
fontFamily: "system-ui, sans-serif",
|
|
@@ -7910,11 +7905,12 @@ var VectorViewport = react.forwardRef(
|
|
|
7910
7905
|
if (e.pointerType !== "pen") return;
|
|
7911
7906
|
penDetectedRef.current = true;
|
|
7912
7907
|
lastPenPointerDownAtRef.current = performance.now();
|
|
7908
|
+
if (isInteractiveUiTarget(e.target)) return;
|
|
7913
7909
|
activePenPointerIds.add(e.pointerId);
|
|
7914
7910
|
syncPenActive();
|
|
7915
7911
|
};
|
|
7916
7912
|
const suppressTouchUiEvent = (e) => {
|
|
7917
|
-
if (
|
|
7913
|
+
if (activePenPointerIds.size === 0) return;
|
|
7918
7914
|
if (!isInteractiveUiTarget(e.target)) return;
|
|
7919
7915
|
e.preventDefault();
|
|
7920
7916
|
e.stopPropagation();
|