mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-20 02:37:26 -04:00
[web] Lint source code
Removal of useless statements.
This commit is contained in:
parent
3d2392567a
commit
cef98f689b
@ -180,7 +180,7 @@
|
|||||||
type="range"
|
type="range"
|
||||||
:style="{
|
:style="{
|
||||||
'--ratio': stream_volume / 100,
|
'--ratio': stream_volume / 100,
|
||||||
'--cursor': $filters.cursor(this.cursor)
|
'--cursor': $filters.cursor(cursor)
|
||||||
}"
|
}"
|
||||||
@change="change_stream_volume"
|
@change="change_stream_volume"
|
||||||
/>
|
/>
|
||||||
@ -302,7 +302,7 @@
|
|||||||
type="range"
|
type="range"
|
||||||
:style="{
|
:style="{
|
||||||
'--ratio': stream_volume / 100,
|
'--ratio': stream_volume / 100,
|
||||||
'--cursor': $filters.cursor(this.cursor)
|
'--cursor': $filters.cursor(cursor)
|
||||||
}"
|
}"
|
||||||
@change="change_stream_volume"
|
@change="change_stream_volume"
|
||||||
/>
|
/>
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
type="range"
|
type="range"
|
||||||
:style="{
|
:style="{
|
||||||
'--ratio': volume / 100,
|
'--ratio': volume / 100,
|
||||||
'--cursor': $filters.cursor(this.cursor)
|
'--cursor': $filters.cursor(cursor)
|
||||||
}"
|
}"
|
||||||
@change="change_volume"
|
@change="change_volume"
|
||||||
/>
|
/>
|
||||||
|
@ -71,6 +71,6 @@ export const filters = {
|
|||||||
cursor(path, size = 20) {
|
cursor(path, size = 20) {
|
||||||
const viewbox = 24
|
const viewbox = 24
|
||||||
const center = size / 2
|
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 }"
|
:class="{ 'is-inactive': is_live }"
|
||||||
:style="{
|
:style="{
|
||||||
'--ratio': track_progress_ratio,
|
'--ratio': track_progress_ratio,
|
||||||
'--cursor': $filters.cursor(this.cursor)
|
'--cursor': $filters.cursor(cursor)
|
||||||
}"
|
}"
|
||||||
:disabled="is_live"
|
:disabled="is_live"
|
||||||
@change="seek"
|
@change="seek"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user