Icons: WIP using a proper mapping table
This commit is contained in:
parent
8da2cdf430
commit
a4107c87c0
41 changed files with 2277 additions and 183 deletions
|
|
@ -43,11 +43,11 @@ Item {
|
|||
|
||||
function getIcon() {
|
||||
if (AudioService.muted) {
|
||||
return FontService.icons["volume_muted"]
|
||||
return Bootstrap.icons["volume_muted"]
|
||||
}
|
||||
return AudioService.volume
|
||||
<= Number.EPSILON ? FontService.icons["volume_off"] : (AudioService.volume
|
||||
< 0.5 ? FontService.icons["volume_half"] : FontService.icons["volume_full"])
|
||||
<= Number.EPSILON ? Bootstrap.icons["volume_off"] : (AudioService.volume
|
||||
< 0.5 ? Bootstrap.icons["volume_half"] : Bootstrap.icons["volume_full"])
|
||||
}
|
||||
|
||||
// Connection used to open the pill when volume changes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue