Skip to content

Commit 2235e4f

Browse files
committed
fix: cursor pointer bug
1 parent 923cc9a commit 2235e4f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/IllestWaveform.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
registerScrollHander,
99
canelScrollHander,
1010
} from '../utils/lazy-load'
11+
import { read } from 'fs'
1112
1213
type CanvasLineCap = 'butt' | 'round' | 'square'
1314
@@ -200,6 +201,7 @@ defineExpose({
200201
<section
201202
id="illest-wave-container"
202203
ref="waveformContainer"
204+
:style="`${ready && interact ? 'cursor: pointer' : ''}`"
203205
@mousemove="mouseMoveHandler"
204206
@click="clickHandler"
205207
>
@@ -271,7 +273,6 @@ defineExpose({
271273
top: 0px;
272274
opacity: 0;
273275
transition: opacity 0.2s ease-in-out;
274-
cursor: pointer;
275276
}
276277
277278
#illest-wave-container:hover #illest-cursor {

0 commit comments

Comments
 (0)