зеркало из https://github.com/mozilla/gecko-dev.git
Bug 774000 - Volume is always set to 0 on the device. r=cjones
This commit is contained in:
Родитель
65d3bf2485
Коммит
8e3d55262b
|
@ -53,7 +53,7 @@ SettingsListener.observe('audio.volume.master', 0.5, function(value) {
|
|||
if (!audioManager)
|
||||
return;
|
||||
|
||||
audioManager.masterVolume = Math.min(0, Math.max(value, 1));
|
||||
audioManager.masterVolume = Math.max(0.0, Math.min(value, 1.0));
|
||||
});
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче