mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-08-29 10:43:56 +00:00
fix: reduce jitter by disabling pointer events on line
This commit is contained in:
@@ -540,6 +540,7 @@ export default function Canvas() {
|
|||||||
d={`M ${linkingLine.startX} ${linkingLine.startY} L ${linkingLine.endX} ${linkingLine.endY}`}
|
d={`M ${linkingLine.startX} ${linkingLine.startY} L ${linkingLine.endX} ${linkingLine.endY}`}
|
||||||
stroke="red"
|
stroke="red"
|
||||||
strokeDasharray="8,8"
|
strokeDasharray="8,8"
|
||||||
|
className="pointer-events-none touch-none"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{notes.map((n) => (
|
{notes.map((n) => (
|
||||||
|
Reference in New Issue
Block a user