Default skull icon
This commit is contained in:
parent
6f4a4bb764
commit
6169f88d90
9 changed files with 42 additions and 31 deletions
|
|
@ -43,9 +43,11 @@ Item {
|
|||
|
||||
function getIcon() {
|
||||
if (AudioService.muted) {
|
||||
return FontService.icons["volume_off"] // TODO disabled icon ?
|
||||
return FontService.icons["volume_off"] // TODO disabled icon ?
|
||||
}
|
||||
return AudioService.volume <= Number.EPSILON ? FontService.icons["volume_off"] : (AudioService.volume < 0.5 ? FontService.icons["volume_half"]: FontService.icons["volume_full"])
|
||||
return AudioService.volume
|
||||
<= Number.EPSILON ? FontService.icons["volume_off"] : (AudioService.volume
|
||||
< 0.5 ? FontService.icons["volume_half"] : FontService.icons["volume_full"])
|
||||
}
|
||||
|
||||
// Connection used to open the pill when volume changes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue