Fixed configuration of group border color

This commit adds a previously missing `group` flag to each group panel
and therefore allows to check for groups inside `nk_panel_end` and
draw the correct border color.
This commit is contained in:
vurtun 2016-06-14 09:49:09 +02:00
parent ea4ac755de
commit 8ed50e08d4

View File

@ -18347,6 +18347,7 @@ nk_group_begin(struct nk_context *ctx, struct nk_panel *layout, const char *titl
}
flags |= NK_WINDOW_SUB;
flags |= NK_WINDOW_GROUP;
if (win->flags & NK_WINDOW_ROM)
flags |= NK_WINDOW_ROM;