fix: update cursor styles for draggable elements in DraggableWindow

This commit is contained in:
암냥 2026-03-06 22:54:31 +09:00
commit 2a35d967f7
No known key found for this signature in database

View file

@ -108,7 +108,7 @@ export default function DraggableWindow() {
isVisible && ( isVisible && (
<div <div
ref={windowRef} ref={windowRef}
className="fixed cursor-pointer select-none" className="fixed cursor-grab select-none active:cursor-grab"
style={{ style={{
left: `${position.x}px`, left: `${position.x}px`,
top: `${position.y}px`, top: `${position.y}px`,
@ -127,7 +127,7 @@ export default function DraggableWindow() {
type="button" type="button"
onMouseDown={handleMouseDown} onMouseDown={handleMouseDown}
onClick={handleActivate} onClick={handleActivate}
className="absolute inset-0 cursor-pointer" className="absolute inset-0 cursor-grab active:cursor-grab"
aria-label="Play audio" aria-label="Play audio"
/> />
<button <button