Changeset 14b4577 in mainline


Ignore:
Timestamp:
2022-12-05T10:46:20Z (18 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
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.