src/widgets/Controller.js
branchnew-model
changeset 880 4c7b33bf2795
parent 875 43629caa77bc
child 882 61c384dda19e
equal deleted inserted replaced
876:03967b6ada7c 880:4c7b33bf2795
   120   
   120   
   121     
   121     
   122     // Allow Volume Cursor Dragging
   122     // Allow Volume Cursor Dragging
   123     this.$volumeBar.slider({
   123     this.$volumeBar.slider({
   124         slide: function(event, ui) {
   124         slide: function(event, ui) {
   125             _this.$volumeBar.attr("title",this.l10n.volume+': ' + ui.value + '%');
   125             _this.$volumeBar.attr("title",_this.l10n.volume+': ' + ui.value + '%');
   126             _this.player.popcorn.volume(ui.value / 100);
   126             _this.player.popcorn.volume(ui.value / 100);
   127         },
   127         },
   128         stop: this.functionWrapper("volumeUpdater")
   128         stop: this.functionWrapper("volumeUpdater")
   129     });
   129     });
   130 
   130