Skip to content

Commit defe4b8

Browse files
committed
fixed inspector open/close flag
1 parent 94cb858 commit defe4b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ofxVisualProgramming.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ void ofxVisualProgramming::drawInspector(){
367367
ImGui::SetNextWindowSize(ImVec2(ofGetWindowWidth()/4,ofGetWindowHeight()/2), ImGuiCond_Appearing );
368368
//ImGui::SetNextWindowPos(ImVec2(ofGetWindowWidth()-200,26*scaleFactor), ImGuiCond_Appearing);
369369

370-
ImGui::Begin("Inspector", 0, ImGuiWindowFlags_NoCollapse);
370+
ImGui::Begin("Inspector", &inspectorActive, ImGuiWindowFlags_NoCollapse);
371371

372372
// if object id exists
373373
if(patchObjects.find(nodeCanvas.getActiveNode()) != patchObjects.end()){

0 commit comments

Comments
 (0)