summaryrefslogtreecommitdiff
path: root/scene/main/viewport.h
diff options
context:
space:
mode:
authorRindbee <idleman@yeah.net>2022-07-28 06:54:06 +0800
committerRindbee <idleman@yeah.net>2022-10-18 16:32:39 +0800
commit42073fc2bbe49bc6d2eacb69d01995a7bc388549 (patch)
tree27ce95fd361a6fe5693393768eb035c7c6a5071f /scene/main/viewport.h
parent18177828ad97286ca88cbdcfb763c967858d051b (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 'scene/main/viewport.h')
0 files changed, 0 insertions, 0 deletions