mirror of
https://github.com/felixangell/phi.git
synced 2024-09-11 15:55:25 +03:00
palette closes on esc keypress
This commit is contained in:
parent
c561879fb6
commit
445d645ab9
@ -60,7 +60,7 @@ func (b *CommandPalette) OnUpdate() bool {
|
||||
}
|
||||
|
||||
override := func(k int) bool {
|
||||
if k != sdl.K_RETURN {
|
||||
if k != sdl.K_RETURN && k != sdl.K_ESCAPE {
|
||||
return false
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user