Skip to content

SwitchIndicator: Fix handle position binding, so that it feels snapped to pointer

ivan tkachenko requested to merge work/ratijas/switch-better-handle-x into master

This is an expression used in all upstream styles. Subtracting half of the handler's width makes it follow the pointer precisely, instead of wiggling left and right relative to the cursor.

Sync to Plasma Components: https://invent.kde.org/plasma/plasma-framework/-/merge_requests/979

Edited by ivan tkachenko

Merge request reports