diff --git a/zahnrad.c b/zahnrad.c index 1a81bfc..2a4a949 100644 --- a/zahnrad.c +++ b/zahnrad.c @@ -7333,7 +7333,6 @@ zr_layout_begin(struct zr_context *ctx, const char *title) if (layout->flags & ZR_WINDOW_MINIMIZED) { /* draw window background if minimized */ - layout->header_h = 0; layout->row.height = 0; zr_draw_rect(out, zr_rect(layout->bounds.x, layout->bounds.y, layout->bounds.w, layout->row.height), 0, c->colors[ZR_COLOR_WINDOW]);