Open dcallus opened 2 years ago
done
Re-opened as I've had to comment this error checking out at the class level.
There is no way to select a fill start beat too high (compared with beats per bar) on the UI, so it is currently safe. But this should be checked on the class level too.
Unfortunately there seems to be some sort of race condition where the error will throw even before the correct beat start is updated.
setCustomSettingsForPattern in the patternMaker.ts file needs error handling.
Add some tests to make sure an error is being thrown.