diff --git a/app/window.go b/app/window.go index 78feb555..a38e7406 100644 --- a/app/window.go +++ b/app/window.go @@ -1036,9 +1036,9 @@ func (w *Window) decorate(d driver, e system.FrameEvent, o *op.Ops) (size, offse Metric: e.Metric, Constraints: layout.Exact(e.Size), } - style.Layout(gtx) // Update the window based on the actions on the decorations. w.Perform(deco.Update(gtx)) + style.Layout(gtx) // Offset to place the frame content below the decorations. decoHeight := gtx.Dp(w.decorations.Config.decoHeight) if w.decorations.currentHeight != decoHeight {