Skip to content

Commit 627d358

Browse files
authored
Reset pitch colors (#4551)
1 parent 8117c7f commit 627d358

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

js/widgets/temperament.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2097,6 +2097,9 @@ function TemperamentWidget() {
20972097
if ((this._playing && currentTime - this.lastClickTime > Singer.defaultBPMFactor * 1000 * duration) || (this.inbetween)) {
20982098
that.playbackForward = true;
20992099
this.inbetween = false;
2100+
for (let i = 0; i <= this.pitchNumber; i++) {
2101+
docById("pitchNumber_" + i).style.background = platformColor.selectorBackground;
2102+
}
21002103
__playLoop(0);
21012104
}
21022105
this.lastClickTime = currentTime;

0 commit comments

Comments
 (0)