Changeset - f0d8803e08fc
[Not reviewed]
default
0 1 0
Drew Perttula - 6 years ago 2019-06-01 20:08:40
drewp@bigasterisk.com
seems like a timeline bug- fix is untested
Ignore-this: ac145afc590121e727c1b2e86b404315
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/web/timeline/timeline.coffee
Show inline comments
 
@@ -212,13 +212,13 @@ coffeeElementSetup(class TimelineEditor 
 
        # should be controlled by a checkbox next to follow-player-song-choice
 
        @sendMouseToVidref() unless window.location.hash.match(/novidref/)
 

	
 
  sendMouseToVidref: ->
 
    now = Date.now()
 
    if (!@$.vidrefLastSent? || @$.vidrefLastSent < now - 200) && !@songPlaying
 
      @$.vidrefTime.body = {t: @latestMouseTime(), source: 'timeline'}
 
      @$.vidrefTime.body = {t: @viewState.latestMouseTime(), source: 'timeline'}
 
      @$.vidrefTime.generateRequest()
 
      @$.vidrefLastSent = now
 

	
 
  bindWheelZoom: (elem) ->
 
    elem.addEventListener 'mousewheel', (ev) =>
 
      @viewState.onMouseWheel(ev.deltaY)
0 comments (0 inline, 0 general)