Merge lp:~cimi/overlay-scrollbar/hide-at-full-size-pager into lp:overlay-scrollbar
Proposed by
Andrea Cimitan
Status: | Merged |
---|---|
Merged at revision: | 142 |
Proposed branch: | lp:~cimi/overlay-scrollbar/hide-at-full-size-pager |
Merge into: | lp:overlay-scrollbar |
Diff against target: | 0 lines |
To merge this branch: | bzr merge lp:~cimi/overlay-scrollbar/hide-at-full-size-pager |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Loïc Molinari (community) | Approve | ||
Review via email: mp+52432@code.launchpad.net |
Description of the change
This should hide the scrollbar correctly when the scrolling disappears (no content to scroll).
I'm not in love with the approach of this branch, because I should supervisor when os_pager_show and os_pager_hide are called by both map()/unmap() and adjustment_
Indeed, right now it seems to work.
I would propose a saner control over those calls in the future.
To post a comment you must log in.
Looks good to me.
I'd put a "FIXME(Cimi): " in adjustment_ changed_ cb() explaining the pros and cons, like you did in that merge request. That way, your thoughts can be shared with people reading the code and won't be lost in that merge request.