mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 04:42:58 -05:00
[web] Change cursor visuals when no operation is allowed on slider
The default cursor of the browser is now overridden by another icon from Material Design Icons.
This commit is contained in:
@@ -26,7 +26,10 @@
|
||||
:class="{ 'is-inactive': !output.selected }"
|
||||
max="100"
|
||||
type="range"
|
||||
:style="{ '--ratio': volume / 100 }"
|
||||
:style="{
|
||||
'--ratio': volume / 100,
|
||||
'--cursor': $filters.cursor(this.cursor)
|
||||
}"
|
||||
@change="change_volume"
|
||||
/>
|
||||
</div>
|
||||
@@ -37,6 +40,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mdiCancel } from '@mdi/js'
|
||||
import webapi from '@/webapi'
|
||||
|
||||
export default {
|
||||
@@ -46,7 +50,8 @@ export default {
|
||||
|
||||
data() {
|
||||
return {
|
||||
volume: this.output.selected ? this.output.volume : 0
|
||||
volume: this.output.selected ? this.output.volume : 0,
|
||||
cursor: mdiCancel
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user