mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-07 18:42:48 +00:00
fix: commit is not being sent when only settings or layout change
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
);
|
);
|
||||||
const settingChanges = $overlay.settings.size;
|
const settingChanges = $overlay.settings.size;
|
||||||
const chordChanges = $overlay.chords.size;
|
const chordChanges = $overlay.chords.size;
|
||||||
const needsCommit = settingChanges > 0 && layoutChanges > 0;
|
const needsCommit = settingChanges > 0 || layoutChanges > 0;
|
||||||
const progressMax = layoutChanges + settingChanges + chordChanges;
|
const progressMax = layoutChanges + settingChanges + chordChanges;
|
||||||
|
|
||||||
let progressCurrent = 0;
|
let progressCurrent = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user