Wouldn’t it bust the thread? Never did that before…
I’d like to do more cleanup work and need some time for this.
However, if somebody has urgent needs - just chime in!
If you copy in the code, select it, and then in the formatting toolbar click the </> icon (for “Preformatted text”), then it should format it as a code block.
See some of the posts in this thread that contain lengthy code – after a certain length, the code gets placed in a sub-window with its own scroll bar, so it doesn’t break the thread.
Well, it’s not an urgent need, but I’m still wondering how this part works:
…if the TextButton is positioned completely over the Slider.
I setInterceptsMouseClicks(false, true); on both the slider and button, pass Down and Drag events to the slider, and on mouseUp() toggle the button’s stateValue.
All wrapped by some colour and text changes to visualize the “swipe” state.
Sorry I didn’t post the code yet, it would take some more cleanups I can’t find the time for…