This commit is contained in:
2024-03-30 22:44:15 +01:00
parent 4268cec832
commit ebca41dc8f
9 changed files with 497 additions and 761 deletions

View File

@@ -13,7 +13,7 @@
</div>
<div
class="sidebar-add-beat"
@click="addNewBeat()">
@click="onAddNewBeat()">
+
</div>
</div>
@@ -103,6 +103,10 @@
saveDirty,
} = beatStore;
function onAddNewBeat() {
activeBeatIndex.value = addNewBeat();
}
watch(saveDirty, (dirty) => {
if (dirty) {
document.title = `${ TITLE } (unsaved changes)`;