mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 17:05:38 +00:00
ui/app: implement Command for system events
And add CommandBack for the Android back button. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -206,6 +206,9 @@ func (w *Window) event(e Event) {
|
||||
needRedraw = true
|
||||
case key.Event:
|
||||
needRedraw = true
|
||||
case *Command:
|
||||
needAck = true
|
||||
needRedraw = true
|
||||
case ChangeStage:
|
||||
w.stage = e.Stage
|
||||
if w.stage > StageDead {
|
||||
|
||||
Reference in New Issue
Block a user