parent
3d2392567a
commit
cef98f689b
|
@ -180,7 +180,7 @@
|
|||
type="range"
|
||||
:style="{
|
||||
'--ratio': stream_volume / 100,
|
||||
'--cursor': $filters.cursor(this.cursor)
|
||||
'--cursor': $filters.cursor(cursor)
|
||||
}"
|
||||
@change="change_stream_volume"
|
||||
/>
|
||||
|
@ -302,7 +302,7 @@
|
|||
type="range"
|
||||
:style="{
|
||||
'--ratio': stream_volume / 100,
|
||||
'--cursor': $filters.cursor(this.cursor)
|
||||
'--cursor': $filters.cursor(cursor)
|
||||
}"
|
||||
@change="change_stream_volume"
|
||||
/>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
type="range"
|
||||
:style="{
|
||||
'--ratio': volume / 100,
|
||||
'--cursor': $filters.cursor(this.cursor)
|
||||
'--cursor': $filters.cursor(cursor)
|
||||
}"
|
||||
@change="change_volume"
|
||||
/>
|
||||
|
|
|
@ -71,6 +71,6 @@ export const filters = {
|
|||
cursor(path, size = 20) {
|
||||
const viewbox = 24
|
||||
const center = size / 2
|
||||
return `url(\"data:image/svg+xml,%3Csvg width='${size}' height='${size}' viewBox='0 0 ${viewbox} ${viewbox}' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='${path}'/%3E%3C/svg%3E\") ${center} ${center}, auto`
|
||||
return `url("data:image/svg+xml,%3Csvg width='${size}' height='${size}' viewBox='0 0 ${viewbox} ${viewbox}' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='${path}'/%3E%3C/svg%3E") ${center} ${center}, auto`
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
:class="{ 'is-inactive': is_live }"
|
||||
:style="{
|
||||
'--ratio': track_progress_ratio,
|
||||
'--cursor': $filters.cursor(this.cursor)
|
||||
'--cursor': $filters.cursor(cursor)
|
||||
}"
|
||||
:disabled="is_live"
|
||||
@change="seek"
|
||||
|
|
Loading…
Reference in New Issue