feat: massively improved chord search

fixes #119
This commit is contained in:
2024-04-29 11:18:23 +02:00
parent 4007810c7b
commit cbcf705f71
4 changed files with 92 additions and 20 deletions

View File

@@ -15,7 +15,8 @@
$: dynamicMapping = info.keyCode && $osLayout.get(info.keyCode);
$: tooltip =
(info.title ?? info.id ?? `0x${info.code.toString(16)}`) +
`<${info.id ?? `0x${info.code.toString(16)}`}> ` +
(info.title ?? "") +
(info.variant === "left"
? " (left)"
: info.variant === "right"