Skip to content
Verified Commit e56cf85c authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

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

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.

Copied from qqc2-desktop-style implementation.
parent 9aacf20e
Pipeline #538057 passed with stage
in 1 minute and 13 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment