mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 02:15:34 +00:00
ui/key: rename ChordEvent to just Event
Event is like pointer.Event and we don't want the stuttering of key.KeyEvent. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -202,7 +202,7 @@ func (w *window) setAnimating(anim bool) {
|
||||
}
|
||||
|
||||
func (w *window) onKeyCommand(name rune) {
|
||||
w.w.event(key.ChordEvent{
|
||||
w.w.event(key.Event{
|
||||
Name: name,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user