mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 18:44:05 +09:00
better handling of null keysymbol
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user