fix: update cursor styles for draggable elements in DraggableWindow
This commit is contained in:
parent
a5e201361a
commit
2a35d967f7
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue