public void sliderTimeline_OnClick(int theValue) { if (!dragging) timeline.move(theValue - timeline.getTimeIdx()); }