mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-25 21:53:17 -05:00
[web] Change cursor icon for stream volume when output is disabled
The cursor icon for the stream volume when the slider is inactive is now a Material Design Icon.
This commit is contained in:
parent
523f88cc0b
commit
c89aaa895f
File diff suppressed because one or more lines are too long
@ -178,7 +178,10 @@
|
||||
:class="{ 'is-inactive': !playing }"
|
||||
max="100"
|
||||
type="range"
|
||||
:style="{ '--ratio': stream_volume / 100 }"
|
||||
:style="{
|
||||
'--ratio': stream_volume / 100,
|
||||
'--cursor': $filters.cursor(this.cursor)
|
||||
}"
|
||||
@change="change_stream_volume"
|
||||
/>
|
||||
</div>
|
||||
@ -239,7 +242,7 @@
|
||||
class="slider"
|
||||
max="100"
|
||||
type="range"
|
||||
:style="{ '--ratio': player.volume / 100 }"
|
||||
:style="{ '--ratio': player.volume }"
|
||||
@change="change_volume"
|
||||
/>
|
||||
</div>
|
||||
@ -297,7 +300,10 @@
|
||||
:class="{ 'is-inactive': !playing }"
|
||||
max="100"
|
||||
type="range"
|
||||
:style="{ '--ratio': stream_volume / 100 }"
|
||||
:style="{
|
||||
'--ratio': stream_volume / 100,
|
||||
'--cursor': $filters.cursor(this.cursor)
|
||||
}"
|
||||
@change="change_stream_volume"
|
||||
/>
|
||||
</div>
|
||||
@ -313,6 +319,7 @@
|
||||
<script>
|
||||
import webapi from '@/webapi'
|
||||
import _audio from '@/audio'
|
||||
import { mdiCancel } from '@mdi/js'
|
||||
import NavbarItemLink from './NavbarItemLink.vue'
|
||||
import NavbarItemOutput from './NavbarItemOutput.vue'
|
||||
import PlayerButtonPlayPause from '@/components/PlayerButtonPlayPause.vue'
|
||||
@ -342,6 +349,7 @@ export default {
|
||||
|
||||
data() {
|
||||
return {
|
||||
cursor: mdiCancel,
|
||||
old_volume: 0,
|
||||
playing: false,
|
||||
loading: false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user