diff --git a/frontend/src/components/GraphCanvas.svelte b/frontend/src/components/GraphCanvas.svelte index f8f408f..c09fbc2 100644 --- a/frontend/src/components/GraphCanvas.svelte +++ b/frontend/src/components/GraphCanvas.svelte @@ -237,8 +237,8 @@ const pt = svgPoint(e); const target = e.target as HTMLElement; - // Volume slider handle - highest priority - if (target.classList.contains('vol-handle') || target.classList.contains('vol-bar') || target.classList.contains('vol-bg')) { + // Volume slider - high priority + if (target.classList.contains('vol-handle') || target.classList.contains('vol-hitarea')) { const nodeEl = target.closest('.node-group'); if (nodeEl) { const nodeId = Number((nodeEl as HTMLElement).dataset.nodeId); @@ -542,10 +542,12 @@ text-anchor="middle" >{nd.mute ? 'M' : 'm'} - - - - + + + + + + @@ -798,6 +800,7 @@ .mute-text { pointer-events: none; } .vol-bg { pointer-events: none; } .vol-bar { pointer-events: none; } - .vol-handle { cursor: ew-resize; } + .vol-hitarea { cursor: pointer; } + .vol-handle { cursor: ew-resize; pointer-events: none; } .vol-handle:hover { filter: brightness(1.3); }