You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
A control styled with hover: or focus: shows the click cursor again.WDiv wraps itself in a gestureless WAnchor for those prefixes, and that anchor's MouseRegion claimed SystemMouseCursors.basic. Sitting deeper than the tappable WAnchor around it, it won the cursor, so every round control of a Watchools player band (WAnchor(onTap:) > WDiv('hover:bg-scrim focus:ring-2')) showed the arrow over a button. A gestureless anchor now defers (MouseCursor.defer), which leaves the cursor to the control around it and resolves to the basic cursor when nothing is there. A disabled anchor still shows basic whether or not it carries a gesture, because WSwitch, WCheckbox and WTabs drop onTap while disabled and would otherwise inherit a tappable row's click cursor; an enabled anchor with a gesture keeps click. (#229) (lib/src/widgets/w_anchor.dart, lib/src/widgets/w_div.dart, test/widgets/w_anchor_test.dart, doc/widgets/w-anchor.md, skills/wind-ui/references/widgets.md)