Files
kolibrios/programs/cmm/browser
jaskaran-singh-77andBurer f305d3425d apps/webview: fix last character in line being cropped (fix #263) (#386)
the break position was calculated as

br = draw_w - draw_x + (left_gap / list.font_w);

adding left_gap/font_w was making br too large,
so lines were allowed to go past the drawable area
and the last character got clipped.

changed to:
br = draw_w - draw_x;
br /= list.font_w;

just the remaining pixels divided by char width,
no left_gap needed here

Co-authored-by: Burer <burer@kolibrios.org>
Reviewed-on: KolibriOS/kolibrios#386
Reviewed-by: Burer <burer@kolibrios.org>
Co-authored-by: jaskaran-singh-77 <jassijatt951@gmail.com>
Co-committed-by: jaskaran-singh-77 <jassijatt951@gmail.com>
2026-03-29 11:50:29 +00:00
..
2025-05-05 19:04:52 +02:00
2025-05-05 19:04:52 +02:00
2024-06-02 03:56:38 +01:00