Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset ba74416 in mainline


Ignore:
Timestamp:
2021-08-01T15:11:06Z (7 weeks ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
de38873
Parents:
1e242121
Message:

I said cursor width should not be taken into account

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/src/entry.c

    r1e242121 rba74416  
    10911091         */
    10921092        if (x > geom.text_rect.p1.x)
    1093                 entry->scroll_pos -= x + 2 - geom.text_rect.p1.x;
     1093                entry->scroll_pos -= x - geom.text_rect.p1.x;
    10941094
    10951095        width = gfx_text_width(res->font, entry->text);
Note: See TracChangeset for help on using the changeset viewer.