mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-08 11:02:50 +00:00
fix: chord maps are ordered incorrectly with new chords, fixes #24
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
if (!editing) return
|
||||
editing = false
|
||||
if (pressedKeys.size < 2) return
|
||||
if (!chord) return dispatch("submit", [...pressedKeys])
|
||||
if (!chord) return dispatch("submit", [...pressedKeys].sort())
|
||||
changes.update(changes => {
|
||||
changes.push({
|
||||
type: ChangeType.Chord,
|
||||
|
||||
Reference in New Issue
Block a user