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:
parent
62ff1861a4
commit
8ebd0afe79
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user