Files
texturecraft/crates
RebornimandClaude Opus 5.5 62da832811 Draggable divider between the 3D and 2D views
In the split layout the line between the views was fixed at the centre.
It can now be dragged to resize both views live; the position is saved
in UiState::split_ratio (serde default 0.5, so older states load).

- Grab zone of 8 pt around the unchanged 2 pt line, claimed after the
  views so a press there never paints, orbits or pans. Resize cursor on
  hover and drag, no highlight. Left button only.
- Either view can shrink to a 16 pt sliver. A view narrower than its
  300 pt camera and view pickers hides them, and each view is clipped to
  its side of the divider.
- Dragging keeps the 2D texture's on-screen size and offset from the
  view's centre (zoom and horizontal pan are compensated), stopping
  where that zoom would leave the 0.1-40 range the wheel uses.
- The 2D view's edges sit on whole pixels and views render at the pixel
  size egui draws them at, so rounding can't nudge the texture's size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 08:16:53 +00:00
..
2026-11-04 18:57:05 -05:00
2026-11-04 18:57:05 -05:00
2026-11-02 23:52:45 -05:00
2026-11-03 00:57:31 -05:00