fix: commit is not being sent when only settings or layout change

This commit is contained in:
2025-04-22 19:56:24 +02:00
parent 5801e5fbbe
commit 24fc861ef4

View File

@@ -53,7 +53,7 @@
);
const settingChanges = $overlay.settings.size;
const chordChanges = $overlay.chords.size;
const needsCommit = settingChanges > 0 && layoutChanges > 0;
const needsCommit = settingChanges > 0 || layoutChanges > 0;
const progressMax = layoutChanges + settingChanges + chordChanges;
let progressCurrent = 0;