Issue: Orientation only affected solid bars. Segmented and trapezoid always drew horizontally, so Vertical in the property panel had no effect for those styles.
Changed
- Normalized
orientationandstylewith.lower()so values like"Vertical"still match. - Solid (vertical): Unchanged behavior; track full size; fill grows from the bottom upward (
y + h - fh). - Segmented (vertical): Segments stack bottom → top; lit count fills from the bottom (same percent logic as horizontal).
- Trapezoid (vertical): Full trapezoid track; fill clipped to a bottom-up height band so progress still reads correctly on a tall, narrow bar.
- Horizontal paths for all three styles left as before.
- Shared
setup_indentedfor gradient/source setup inside segmented loops (avoids duplicating the replace logic).
Unchanged
- Node spec (
visuals.py):orientationenumhorizontal|verticalalready present. - Horizontal solid / segmented / trapezoid drawing.
- Gradient / blend pipeline via
fill_source_lua.