reflection goes out of the window

This commit is contained in:
2019-11-10 01:24:45 +03:00
parent bc00262ead
commit f442dc6921
16 changed files with 87 additions and 63 deletions

View File

@ -13,7 +13,7 @@ func ReadKey() (string, int) {
}
var key = blt.Read()
var pressed = ""
var isModifier, _ = util.InArray(key, modifiers)
var isModifier, _ = util.IntInSlice(key, modifiers)
if !isModifier {
pressed = Scancodemap[key]
@ -38,5 +38,4 @@ func ReadKeyCode() int {
return blt.TK_NONE
}
return blt.Read()
}