You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, when you leave the sphere, there is no color under the pointer, and hsl is set to None accordingly. The same holds for the click callback. Originally, the callback was not called at all when the pointer was outside of the sphere. However, I wanted it to do things when leaving the sphere (specifically, leaving rt mode by returning to the previous mode or the last set color), and the easiest way was to remove the check on hsl previously done before the callback, and add it inside the callback instead.
Aha, what you suggest is to add a new callback which is called when leaving/entering the sphere. Yea one can do that. Build an entire event system with lots of event handlers if one likes it... I tried to keep it simple and straightforward, but agree that it is at the cost of overloading this callback to mean different things.
Example here.
Is this a callback from outside the sphere?
Perhaps this is actually a different kind of callback, then?
The text was updated successfully, but these errors were encountered: