diff options
author | Rindbee <idleman@yeah.net> | 2022-07-28 06:54:06 +0800 |
---|---|---|
committer | Rindbee <idleman@yeah.net> | 2022-10-18 16:32:39 +0800 |
commit | 42073fc2bbe49bc6d2eacb69d01995a7bc388549 (patch) | |
tree | 27ce95fd361a6fe5693393768eb035c7c6a5071f /platform_methods.py | |
parent | 18177828ad97286ca88cbdcfb763c967858d051b (diff) |
Use more reasonable scrollable conditions in `ScrollContainer`
The visibility of the `ScrollBar` was used as a condition for judging whether it should scroll.
**Visible** and **scrollable** are currently not the same in some cases (`SCROLL_MODE_SHOW_NEVER`).
This makes `SCROLL_MODE_SHOW_NEVER` not working properly.
This patch will make `SCROLL_MODE_SHOW_NEVER` available, so that the external `SrollBar` can
share the internal `ScrollBar`'s data, we can achieve the purpose of replacing the internal
`ScrollBar` with a custom external one.
Diffstat (limited to 'platform_methods.py')
0 files changed, 0 insertions, 0 deletions