Skip to content

1.8.2

Choose a tag to compare

@github-actions github-actions released this 12 Oct 01:18
· 179 commits to master since this release
065d4b9

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)