Fix node type typo

This commit is contained in:
2024-02-25 00:02:40 +00:00
parent 2d31233a1e
commit a86b025f7d
2 changed files with 5 additions and 5 deletions

View File

@@ -124,7 +124,7 @@ i32 run_main_loop(void) {
if (comp.event.drop.windowID == main_window->id) {
node_data data = (node_data){.path = comp.event.drop.file};
add_node(&comp, NODEYPE_IO, data, IO_INPUT_COUNT, comp.ctx.mouse_x,
add_node(&comp, NODE_TYPE_IO, data, IO_INPUT_COUNT, comp.ctx.mouse_x,
comp.ctx.mouse_y, io_node_colours);
break;
@@ -147,7 +147,7 @@ i32 run_main_loop(void) {
if (ui_button(toolbox, &(comp.ctx), rect, button_colours)) {
node_data data = (node_data){.func = ops[i]};
add_node(&comp, NODEYPE_OP, data, OP_INPUT_COUNT, comp.ctx.mouse_x,
add_node(&comp, NODE_TYPE_OP, data, OP_INPUT_COUNT, comp.ctx.mouse_x,
comp.ctx.mouse_y, op_node_colours);
}
}