mirror of
https://github.com/felixangell/phi.git
synced 2024-08-16 11:10:37 +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