Skip to content

Commit

Permalink
Fix: cursor was preventing enevelope point creation
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Dec 3, 2023
1 parent 817fb49 commit 70d0c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multitrack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ function initRendering(tracks: MultitrackTracks, options: MultitrackOptions) {

// Create a common cursor
const cursor = document.createElement('div')
cursor.setAttribute('style', 'height: 100%; position: absolute; z-index: 10; top: 0; left: 0')
cursor.setAttribute('style', 'height: 100%; position: absolute; z-index: 10; top: 0; left: 0; pointer-events: none;')
cursor.style.backgroundColor = options.cursorColor || '#000'
cursor.style.width = `${options.cursorWidth ?? 1}px`
wrapper.appendChild(cursor)
Expand Down

0 comments on commit 70d0c39

Please sign in to comment.