File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -2093,6 +2093,28 @@ function TemperamentWidget() {
20932093 } else {
20942094 that . inbetween = true ;
20952095 }
2096+ if ( ! that . playbackForward && i == - 1 ) {
2097+ cell . innerHTML =
2098+ ` <img
2099+ src="header-icons/play-button.svg"
2100+ title="${ _ ( "Play" ) } "
2101+ alt="${ _ ( "Play" ) } "
2102+ height="${ ICONSIZE } "
2103+ width="${ ICONSIZE } "
2104+ vertical-align="middle"
2105+ align-content="center"
2106+ > ` ;
2107+ that . _playing = false ;
2108+ that . playbackForward = true ;
2109+ this . inbetween = false ;
2110+ setTimeout ( function ( ) {
2111+ that . notesCircle . navItems [ 0 ] . fillAttr = "#c8C8C8" ;
2112+ that . notesCircle . navItems [ 0 ] . sliceHoverAttr . fill = "#c8C8C8" ;
2113+ that . notesCircle . navItems [ 0 ] . slicePathAttr . fill = "#c8C8C8" ;
2114+ that . notesCircle . navItems [ 0 ] . sliceSelectedAttr . fill = "#c8C8C8" ;
2115+ that . notesCircle . refreshWheel ( ) ;
2116+ } , Singer . defaultBPMFactor * 1000 * duration ) ;
2117+ }
20962118 } ;
20972119 if ( ( this . _playing && currentTime - this . lastClickTime > Singer . defaultBPMFactor * 1000 * duration ) || ( this . inbetween ) ) {
20982120 that . playbackForward = true ;
You can’t perform that action at this time.
0 commit comments