fix: keybind structuredClone only working the first time (#6691)

This commit is contained in:
ThatGravyBoat
2026-07-11 02:22:05 +00:00
committed by GitHub
parent 8680e61883
commit 0b38cecc74
@@ -25,7 +25,7 @@ const props = defineProps<{
}>()
const keybinding = useTemplateRef('keybinding')
const definitions = ref(structuredClone(props.definitions))
const definitions = ref(JSON.parse(JSON.stringify(props.definitions)))
const editing = ref(-1)
function startEditing(index: number) {