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

Changeset 14b4577 in mainline


Ignore:
Timestamp:
2022-12-05T10:46:20Z (2 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
d46ac73
Parents:
29a5a99
Message:

Do not report out of range scrollbar positions

This caused file dialog to crash with assertion failure.

File:
1 edited

Legend:

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

    r29a5a99 r14b4577  
    840840
    841841                ui_scrollbar_set_pos(scrollbar, spos);
    842                 ui_scrollbar_moved(scrollbar, spos);
     842                ui_scrollbar_moved(scrollbar, scrollbar->pos);
    843843        }
    844844
Note: See TracChangeset for help on using the changeset viewer.