mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 01:45:36 +00:00
io/event: move event types from package ui to its own package
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+3
-2
@@ -10,8 +10,9 @@ events.
|
||||
package key
|
||||
|
||||
import (
|
||||
"gioui.org/ui"
|
||||
"gioui.org/internal/opconst"
|
||||
"gioui.org/io/event"
|
||||
"gioui.org/ui"
|
||||
)
|
||||
|
||||
// InputOp declares a handler ready for key events.
|
||||
@@ -19,7 +20,7 @@ import (
|
||||
// focused key handler. Set the Focus flag to request
|
||||
// the focus.
|
||||
type InputOp struct {
|
||||
Key ui.Key
|
||||
Key event.Key
|
||||
Focus bool
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user