mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 17:35:36 +00:00
widget: don't ignore Editor key events after submit
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -247,7 +247,7 @@ func (e *Editor) processKey(gtx layout.Context) {
|
|||||||
e.events = append(e.events, SubmitEvent{
|
e.events = append(e.events, SubmitEvent{
|
||||||
Text: e.Text(),
|
Text: e.Text(),
|
||||||
})
|
})
|
||||||
return
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if e.command(ke) {
|
if e.command(ke) {
|
||||||
|
|||||||
Reference in New Issue
Block a user