Seneral / Node_Editor_Framework

A flexible and modular Node Editor Framework for creating node based displays and editors in Unity
https://nodeeditor.seneral.dev
MIT License
2.01k stars 414 forks source link

re-positioning nodes does not move hitbox. #99

Closed pollend closed 7 years ago

pollend commented 7 years ago

image

Seneral commented 7 years ago

Can you tell me how you saved the cancas? This is a rare save Bug so I'd like to track it down. You can just reopen the Canvas and it should be gone;)

pollend commented 7 years ago

I was using setPosition but InputKnob (x) with the index seems to resolve this.

Seneral commented 7 years ago

Oh, I thought you meant the node, not the knob. There is indeed an error in the save system I believe to have fixed that sometimes make nodes duplicate where one node was functional and one would basically 'sit' there without receiving input. Anyway, yeah the node knob position need atleast one redraw to appear correctly, can be observed when opening the canvas without the mouse cursor in it. Not crucial though, maybe a Repaint command correctly set will fix this;)