mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 19:13:54 +00:00
Remove unused volume code
This commit is contained in:
parent
340629214f
commit
d5869292fe
1 changed files with 0 additions and 8 deletions
|
|
@ -114,10 +114,6 @@ module.exports = {
|
|||
return this.media.channels();
|
||||
},
|
||||
|
||||
getVolume: function() {
|
||||
return Math.round(this.media.getVolume());
|
||||
},
|
||||
|
||||
seekToPercentComplete: function(percent) {
|
||||
this.media.seekToPercentComplete(percent);
|
||||
},
|
||||
|
|
@ -152,10 +148,6 @@ module.exports = {
|
|||
this.media.setVolume(volume);
|
||||
},
|
||||
|
||||
incrementVolumeBy: function(ammount) {
|
||||
this.setVolume((this.media.getVolume()) + ammount);
|
||||
},
|
||||
|
||||
toggleDoubledMode: function() {
|
||||
window.dispatchEvent(this.events.doubledModeToggled);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue