feat: Improve cursor handling during drag operations for better user experience

This commit is contained in:
Will Miao
2025-08-22 15:36:27 +08:00
parent 1bf9326604
commit 383b4de539
3 changed files with 12 additions and 3 deletions

View File

@@ -115,6 +115,10 @@ export function createDragHandle() {
handle.onmousedown = () => {
handle.style.cursor = "grabbing";
};
handle.onmouseup = () => {
handle.style.cursor = "grab";
};
return handle;
}