Keep the aspect ratio of a one-axis Kitty placement #125
No reviewers
Labels
No labels
Area/ci
Area/cli
Area/client
Area/client-core
Area/daemon
Area/deps
Area/docs
Area/grid
Area/manual
Area/nix
Area/protocol
Area/pty
Area/render
Area/shaping
Area/skills
Area/transport
Area/vt
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Performance
Kind/Security
Kind/Testing
perf-regression-accepted
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Blocked
Status
Need More Info
Status
Upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
felis-terminal/felis!125
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/one-axis-aspect"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A placement with only
c=or onlyr=now follows kitty'supdate_dest_rect: the missing axis is the given axis's pixel span at the image's aspect ratio, in cells, rounded up, and the image draws at that aspect-preserving size. A 101×100 image atr=2with 10×20 px cells takes 5 columns and draws 40.4×40 px (it used to take 11 and draw 110×40).Extent::Derived, resolved from both requested axes and re-resolved on a cell-size change.ImagePlacement.requested(thec=/r=asked, 0 = automatic), stripped for minor-0 windows; the renderer keeps its old sizing without it.Closes #42