better handling of null keysymbol

This commit is contained in:
minjaesong
2024-09-12 23:56:40 +09:00
parent 831114ef15
commit 34a7a9285d
3 changed files with 4 additions and 4 deletions

View File

@@ -453,7 +453,7 @@ open private class UIItemInputKeycap(
else if (parent.shiftin && keysym0[1]?.isNotEmpty() == true) keysym0[1]
else keysym0[0]) ?: keysymLow
if (keysym.isEmpty()) {
if (keysym.isEmpty() || keysym.length == 8 && keysym.contains("null")) {
return
}