ImNodes icon indicating copy to clipboard operation
ImNodes copied to clipboard

EndCanvas unselect one node

Open Sagigamil opened this issue 5 years ago • 1 comments

HI! I noticed a bug in ImNodes::EndCanvas() function. It's reset the single_selected_node to null if ctrl and shift keys not clicked, So when I click a node with mouse only, the function ImNodes::Ez::BeginNodeset select to true, but in next call to this function, select becomes false.

I don't sure why you made ImNodes::EndCanvas() function act and if it's really a bug, but I think that after clicking a node it should be selected without using shift or ctrl keys.

Sagi

Sagigamil avatar Jan 12 '21 10:01 Sagigamil

I am unable to replicate this issue in a sample application. Can you? Also could you link exact lines you think are at fault?

rokups avatar Jan 28 '21 07:01 rokups