We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 893603a commit 90abbfdCopy full SHA for 90abbfd
js/widgets/temperament.js
@@ -2097,9 +2097,13 @@ function TemperamentWidget() {
2097
if ((this._playing && currentTime - this.lastClickTime > Singer.defaultBPMFactor * 1000 * duration) || (this.inbetween)) {
2098
that.playbackForward = true;
2099
this.inbetween = false;
2100
- for (let i = 0; i <= this.pitchNumber; i++) {
2101
- docById("pitchNumber_" + i).style.background = platformColor.selectorBackground;
+ if (this.circleIsVisible) {
+ for (let i = 0; i <= this.pitchNumber; i++) {
2102
+ const pitchElement = docById("pitchNumber_" + i);
2103
+ pitchElement.style.background = platformColor.selectorBackground;
2104
+ }
2105
}
2106
+
2107
__playLoop(0);
2108
2109
this.lastClickTime = currentTime;
0 commit comments