mirror of
https://github.com/netbirdio/gomobile-tvos-fork.git
synced 2026-05-22 18:43:29 -07:00
app, event/paint: plumb through paint Generation
Change-Id: I82bac0dc24943c64560a0bac4687cbbbb8b5c328 Reviewed-on: https://go-review.googlesource.com/12841 Reviewed-by: Nigel Tao <nigeltao@golang.org>
This commit is contained in:
@@ -72,7 +72,7 @@ func main() {
|
||||
touchLoc = geom.Point{c.WidthPt / 2, c.HeightPt / 2}
|
||||
case paint.Event:
|
||||
onPaint(c)
|
||||
a.EndPaint()
|
||||
a.EndPaint(e)
|
||||
case touch.Event:
|
||||
touchLoc = e.Loc
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user