Hi.
I'm using Quil 3.1.0 (in a shadow-cljs project, in case that might make any difference).
The documentation for `redraw` says it "does not run draw immediately (it only sets a flag that indicates an update is needed)".
It seems that this is true in Clojure but not in ClojureScript — in ClojureScript it seems that `draw` is called immediately. I'm happy to put together a simple demo of this if it would help.
I'm using functional mode, so I'm relying on return values from eg mouse event handlers updating the state, and I'm also using an `update` function. When I call `redraw` from a mouse event handler, the new state returned from `update` gets discarded, and replaced by the new state returned from the handler.
Any thoughts on a workaround for this? I guess I could not use functional mode and handle state myself.
Simon