ofxControlPanel icon indicating copy to clipboard operation
ofxControlPanel copied to clipboard

hasValueChanged(...) seems broken

Open ofZach opened this issue 14 years ago • 2 comments

not sure if I am using it wrong, but it appears broken. Just tried to use it on a few values and it's always returning true.

ofZach avatar Feb 13 '11 21:02 ofZach

oh snaps -- I see, I need to use clearAllChanged(...). This is understandable, but I would expect the gui to sort this internally, from update to update. (ie, between updates, did this value change) -- a bit like videoGrabber.isFrameNew()....

going to leave this issue open if people have ideas.

ofZach avatar Feb 13 '11 21:02 ofZach

cool yeah - its not ideal. the new gui detects if it is being drawn to the screen and accepts mouse and key presses appropriately.

I guess we could use frame count to check and clear appropriately.

ofTheo avatar Feb 13 '11 22:02 ofTheo