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.js
CHANGED
|
@@ -6525,9 +6525,7 @@ function PresenceRemoteLayer({
|
|
|
6525
6525
|
size: LUCIDE_POINTER_VIEWBOX,
|
|
6526
6526
|
color,
|
|
6527
6527
|
fill: color,
|
|
6528
|
-
stroke: "
|
|
6529
|
-
strokeWidth: 1.25,
|
|
6530
|
-
absoluteStrokeWidth: true,
|
|
6528
|
+
stroke: "none",
|
|
6531
6529
|
"aria-hidden": true
|
|
6532
6530
|
}
|
|
6533
6531
|
)
|
|
@@ -6539,9 +6537,6 @@ function PresenceRemoteLayer({
|
|
|
6539
6537
|
x: cur.x + labelOffsetX,
|
|
6540
6538
|
y: cur.y + labelOffsetY,
|
|
6541
6539
|
fill: color,
|
|
6542
|
-
stroke: "#ffffff",
|
|
6543
|
-
strokeWidth: 2.5 / z,
|
|
6544
|
-
paintOrder: "stroke",
|
|
6545
6540
|
style: {
|
|
6546
6541
|
fontSize: labelFont,
|
|
6547
6542
|
fontFamily: "system-ui, sans-serif",
|
|
@@ -7903,11 +7898,12 @@ var VectorViewport = forwardRef(
|
|
|
7903
7898
|
if (e.pointerType !== "pen") return;
|
|
7904
7899
|
penDetectedRef.current = true;
|
|
7905
7900
|
lastPenPointerDownAtRef.current = performance.now();
|
|
7901
|
+
if (isInteractiveUiTarget(e.target)) return;
|
|
7906
7902
|
activePenPointerIds.add(e.pointerId);
|
|
7907
7903
|
syncPenActive();
|
|
7908
7904
|
};
|
|
7909
7905
|
const suppressTouchUiEvent = (e) => {
|
|
7910
|
-
if (
|
|
7906
|
+
if (activePenPointerIds.size === 0) return;
|
|
7911
7907
|
if (!isInteractiveUiTarget(e.target)) return;
|
|
7912
7908
|
e.preventDefault();
|
|
7913
7909
|
e.stopPropagation();
|