Fix node type typo
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user