Center the timeline in the stage, whatever its height (#253)
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
The axis sat 192 px from the top of the stage, its middle only at 384 px tall, so in full screen it opened well above the middle, and the vertical pan limits, built around the same place, kept it from being dragged there. centeredOffset() centers it on the stage's real height: on opening, with Center axis, and in the pan limits; a comparison centers the middle of its rows while they fit. A stage that grows or shrinks keeps the timeline's place from its middle, so entering full screen keeps it centered. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/commit/93836130d0a12b02f2520adbc800afda87a28e43
Related
Open Center the timeline in the stage, whatever its height (#253) in the timeline