Merge branch 'main' of https://github.com/Bubobubobubobubo/Topos
This commit is contained in:
@ -46,7 +46,7 @@ export const installWindowBehaviors = (
|
|||||||
});
|
});
|
||||||
window.addEventListener("visibilitychange", (event) => {
|
window.addEventListener("visibilitychange", (event) => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
saveBeforeExit(app);
|
saveState(app);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (preventMultipleTabs) {
|
if (preventMultipleTabs) {
|
||||||
|
|||||||
@ -177,6 +177,7 @@ export const makeArrayExtensions = (api: UserAPI) => {
|
|||||||
(_, index) => durations[index % durations.length]
|
(_, index) => durations[index % durations.length]
|
||||||
);
|
);
|
||||||
const totalDurationInPulses = adjustedDurations.reduce(
|
const totalDurationInPulses = adjustedDurations.reduce(
|
||||||
|
// @ts-ignore
|
||||||
(acc, duration) => acc + duration * ppqn,
|
(acc, duration) => acc + duration * ppqn,
|
||||||
0
|
0
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user