Skip to content

Commit f089bee

Browse files
committed
docs(skill/objectstack-ui): document timeSegments.showMidnight toggle
1 parent 88e827d commit f089bee

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

skills/objectstack-ui/SKILL.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ Field shapes:
366366
| `bands[].label` | yes | Header text for the band (白班 / 夜班). |
367367
| `bands[].start` / `bands[].end` | yes | `'HH:mm'`. When `end <= start` the band crosses midnight. Bands must tile the 24h day from `dayStart`. |
368368
| `bands[].color` | no | Any CSS color. Tints that band's column; **omit for no tint**. |
369+
| `showMidnight` | no | Draw the dashed calendar-midnight cue inside cross-midnight bands. Default `true`; set `false` to hide it. |
369370

370371
Behavior:
371372

@@ -378,7 +379,8 @@ Behavior:
378379
- **Drag-snaps to band boundaries** (the band duration, e.g. 12h) instead of
379380
whole days.
380381
- **Calendar-midnight cue.** A subtle dashed vertical line marks local 0:00
381-
*inside* a cross-midnight band — the 排班日 cell itself stays unbroken.
382+
*inside* a cross-midnight band — the 排班日 cell itself stays unbroken. Set
383+
`showMidnight: false` to turn it off.
382384
- **Default off = zero regression.** Omit `timeSegments` and the gantt behaves
383385
exactly as before. Tints render only for bands that declare `color`.
384386

0 commit comments

Comments
 (0)