improve set presets function

This commit is contained in:
Artem Anufrij
2026-10-08 02:03:39 +02:00
parent ccc13ba0e2
commit cf62b2a943
3 changed files with 4 additions and 3 deletions
BIN
View File
Binary file not shown.
+3 -2
View File
@@ -144,8 +144,9 @@ function startPreset(preset) {
selectedPreset = preset;
bpm.value = preset.tempo;
stop();
start();
if (!isRunning.value) {
start();
}
}
const sortedPresets = computed(() =>
+1 -1
View File
@@ -59,7 +59,7 @@ button#start {
}
button#stop {
background: var(--orange);
background-color: var(--orange);
}
#controls {