Skip to content

Commit

Permalink
Temperament fix (#2352)
Browse files Browse the repository at this point in the history
* setup octaveSpace

* use delayExecution instead of .pause()

that.pause() is an undefined function ,
which doesn't get executed .
  • Loading branch information
sksum authored Jun 13, 2020
1 parent 5a0a0fe commit 44e41dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ function Block(protoblock, blocks, overrideName) {
that.bounds = that.container.getBounds();

if (that.bounds === null) {
await delayExecution(100);
that.regenerateArtwork(true, []);
checkBounds(loopCount + 1);
await that.pause(100);
} else {
that.container.cache(
that.bounds.x,
Expand Down
1 change: 1 addition & 0 deletions js/blocks/RhythmBlocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -848,4 +848,5 @@ function setupRhythmBlocks() {
new NoteBlock().setup();
new NewNoteBlock().setup();
new DefineFrequencyBlock().setup();
new OctaveSpaceBlock().setup();
}

0 comments on commit 44e41dd

Please sign in to comment.