mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
8dc03ed655
The previous logic kept the y offset of a line as a fractional value until the last possible moment in an effort to be as true to a fractional line height as possible (minimize the error), but this interacts pathologically with multi-line text selections, as the selections may have visibly different gaps between lines. It's better to always shift lines by a fixed quantity of whole pixels, even if it is technically less accurate to the desired line height. Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>