~eliasnaur/gio-example

7bd64fd1150f5c64383798e6bf870d9336ec5f67 — Chris Waldon 7 months ago 7fe1d1f
x/component: rely on new system inset handling

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
1 files changed, 1 insertions(+), 3 deletions(-)

M x/component/main.go
M x/component/main.go => x/component/main.go +1 -3
@@ 613,9 613,7 @@ func loop(w *app.Window) error {
			case system.DestroyEvent:
				return e.Err
			case system.FrameEvent:
				skipInset := e
				skipInset.Insets = system.Insets{}
				gtx := layout.NewContext(&ops, skipInset)
				gtx := layout.NewContext(&ops, e)
				for _, event := range bar.Events(gtx) {
					switch event := event.(type) {
					case component.AppBarNavigationClicked: