Repair BPM setter

This commit is contained in:
2024-04-20 03:06:23 +02:00
parent 605db460e5
commit 1824a345fc
10 changed files with 51 additions and 48 deletions

View File

@ -38,7 +38,7 @@ export const blinkScript = (
) => {
if (no !== undefined && no < 1 && no > 9) return;
const blinkDuration =
(app.clock.bpm / 60 / app.clock.time_signature[1]!) * 200;
(app.clock.bpm / 60 / app.clock.time_position.num) * 200;
// @ts-ignore
const ctx = app.interface.feedback.getContext("2d");