imnodes icon indicating copy to clipboard operation
imnodes copied to clipboard

Canvas on nodes

Open system64MC opened this issue 2 years ago • 3 comments
trafficstars

Hi, is it possible to have a canvas inside of a node? If yes, how? Thanks for your answer!

system64MC avatar Mar 04 '23 02:03 system64MC

I think u can do this by choose witch node to show while double click the node

JosephXQ2021 avatar Aug 22 '23 01:08 JosephXQ2021

@JosephXQ2021 Hi , do you know how to catch a double click node event?thanks

championAI avatar Oct 23 '23 06:10 championAI

@JosephXQ2021 Hi , do you know how to catch a double click node event?thanks

yes, it's as simple as this:

// Double clicking on the node will make it collapse/expand if(ImGui::IsMouseDoubleClicked(ImGuiMouseButton_Left)) { show_node_contents_ = !show_node_contents_; }

navyenzo avatar Jan 20 '24 15:01 navyenzo