v0.9.1 — chevron orientation fix
Bug-fix patch: DropDown / TreeView / Expander / Menu drew their triangle chevrons inverted from what the code comments described.
- DropDown drew ▲ instead of ▼.
- TreeView expanded chevron drew ▲ instead of ▼.
- TreeView collapsed chevron drew ◀ instead of ▶.
- Expander expanded drew ▲ instead of ▼; collapsed drew ◀ instead of ▶.
- Menu nested-item chevron drew ◀ instead of ▶.
The trace bug in each case was the same: the loop wrote the narrow (1-pixel) tip on the row/column expected to hold the wide (7- or 9-pixel) base and vice versa. Fix is one character per site — swap the sign of the loop index in the coordinate that varies along the chevron's axis.
Compatibility
No API change. Consumers pinning v0.9.0 keep working; visual output flips to the intended shape on rebuild.
Verified
- `go vet ./...` clean
- `go test -cover ./...` → 100.0% of statements
- Cross-compile js/wasm + linux/arm64 + darwin/arm64 clean
- CI green
To pin:
```go
require github.com/go-widgets/toolkit v0.9.1
```
BSD-3-Clause.