Remove cursor modify on floating panel click

main
kts of kettek 2024-02-13 13:49:53 -08:00
parent 96a5e128d7
commit 26e119421d
1 changed files with 0 additions and 4 deletions

View File

@ -30,14 +30,10 @@
x = e.clientX x = e.clientX
y = e.clientY y = e.clientY
node.style.cursor = 'grabbing' node.style.cursor = 'grabbing'
document.body.style.cursor = 'grabbing'
document.body.style.userSelect = 'none'
} }
function stop(e: MouseEvent) { function stop(e: MouseEvent) {
dragging = false dragging = false
node.style.cursor = 'auto' node.style.cursor = 'auto'
document.body.style.cursor = 'auto'
document.body.style.userSelect = 'auto'
} }
function move(e: MouseEvent) { function move(e: MouseEvent) {
if (!dragging) return if (!dragging) return