update node editor example to changes

This commit is contained in:
vurtun 2015-10-01 16:26:05 +02:00
parent 7836242543
commit 2341c37ce5
1 changed files with 2 additions and 2 deletions

View File

@ -256,7 +256,7 @@ node_editor_draw(struct zr_context *layout, struct node_editor *nodedit,
}
/* ====================================================*/
}
zr_group_end(layout, &node);
zr_group_end(layout, &node, NULL);
{
/* node connector and linking */
@ -390,7 +390,7 @@ node_editor_draw(struct zr_context *layout, struct node_editor *nodedit,
fprintf(stdout, "pressed copy!\n");
}
}
nodedit->menu = zr_contextual_end(layout, &menu);
zr_contextual_end(layout, &menu, &nodedit->menu);
}
}
zr_layout_row_space_end(layout);