bug fixes

This commit is contained in:
Egor 2015-11-03 23:59:34 -08:00
parent 6453a0cf95
commit bd451e9925
2 changed files with 3 additions and 1 deletions

View file

@ -164,6 +164,8 @@ export default Em.Component.extend(helperMixin, visualizerMixin, {
} else { } else {
this.get('notify').alert({html: this.get('failedToPlayFileHtml')(song.fileName)}); this.get('notify').alert({html: this.get('failedToPlayFileHtml')(song.fileName)});
} }
this.set('usingBeatPreferences', false);
}; };
audio.ontimeupdate = ()=>{ audio.ontimeupdate = ()=>{
this.set('timeElapsed', Math.floor(audio.currentTime)); this.set('timeElapsed', Math.floor(audio.currentTime));

View file

@ -143,7 +143,7 @@
<div id="beatArea" class="col-sm-7 col-xs-12"> <div id="beatArea" class="col-sm-7 col-xs-12">
{{#if usingBeatPreferences}} {{#if usingBeatPreferences}}
<span data-toggle="tooltip" data-placement="bottom" data-title="Using the saved sensitivity preference from the last time you listened to this song" class="bootstrapTooltip savedStarTooltip"> <span data-toggle="tooltip" data-placement="bottom" data-title="Using the saved sensitivity preference from the last time you listened to this song" class="bootstrapTooltip savedStarTooltip">
{{paper-icon id="saveBeatPreferencesStar" icon="star"}} {{paper-icon id="saveBeatPreferencesStar" class=dimmerOnClass icon="star"}}
</span> </span>
{{/if}} {{/if}}