[web] Lint source code

Removal of useless statements.
This commit is contained in:
Alain Nussbaumer 2023-06-30 03:54:15 +02:00
parent 3d2392567a
commit cef98f689b
4 changed files with 5 additions and 5 deletions

View File

@ -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"
/>

View File

@ -28,7 +28,7 @@
type="range"
:style="{
'--ratio': volume / 100,
'--cursor': $filters.cursor(this.cursor)
'--cursor': $filters.cursor(cursor)
}"
@change="change_volume"
/>

View File

@ -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`
}
}

View File

@ -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"