fixed border of minimized windows

This commit is contained in:
vurtun 2016-01-13 19:33:32 +01:00
parent 6ee7b26aec
commit e40e7de0d9

View File

@ -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]);