mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 09:55:40 +00:00
example,cmd: update gio version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Vendored
+2
-2
@@ -122,9 +122,9 @@ func (w *quarterWidget) Layout(gtx *layout.Context) {
|
||||
Y: float32(gtx.Constraints.Height.Max),
|
||||
}}}.Add(gtx.Ops)
|
||||
|
||||
pointer.RectAreaOp{Rect: image.Rectangle{
|
||||
pointer.Rect(image.Rectangle{
|
||||
Max: image.Pt(gtx.Constraints.Width.Max, gtx.Constraints.Height.Max),
|
||||
}}.Add(gtx.Ops)
|
||||
}).Add(gtx.Ops)
|
||||
pointer.InputOp{Key: w}.Add(gtx.Ops)
|
||||
|
||||
for _, e := range gtx.Events(w) {
|
||||
|
||||
Reference in New Issue
Block a user