Fixed window position/size modification

Fixed windows ignoring changes to its position, size or both if a
group layout is used.
This commit is contained in:
vurtun 2016-04-25 14:11:35 +02:00
parent 62ff1861a4
commit 8ebd0afe79

View File

@ -18110,9 +18110,6 @@ nk_group_end(struct nk_context *ctx)
nk_push_scissor(&win->buffer, parent->clip);
ctx->current = win;
win->layout = parent;
win->bounds = parent->bounds;
if (win->flags & NK_WINDOW_BORDER)
win->bounds = nk_shrink_rect(win->bounds, -win->layout->border);
return;
}