Skip to content

Commit

Permalink
fix (mvNodeLink): Passing state to handlers instead of nullptr #2197
Browse files Browse the repository at this point in the history
  • Loading branch information
v-ein authored and hoffstadt committed Jan 6, 2024
1 parent 7445213 commit 8b7e190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mvNodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ void mvNodeLink::handleSpecificRequiredArgs(PyObject* dict)
void mvNodeLink::customAction(void* data)
{
if (handlerRegistry)
handlerRegistry->checkEvents(data);
handlerRegistry->checkEvents(&state);
}

void mvNodeLink::draw(ImDrawList* drawlist, float x, float y)
Expand Down

0 comments on commit 8b7e190

Please sign in to comment.