Skip to content

kstyle: Fix radio button animation

Kai Uwe Broulik requested to merge work/kbroulik/radio-anim-adjust into master

adjustFactor (it's not a factor though) is subtracted from markerRect on both sides which results in the circle shrinking past zero and then growing again. Instead, divide by 2 to ensure the circle just appears in a single smooth animation.


Animation speed set to 3000ms for demonstration

Before

Screencast_20250524_093017

After

Screencast_20250524_092933

Merge request reports

Loading