Increase gallery length limit threshold above which scroll bar divisions will be made visible

This commit is contained in:
ashilkn
2025-07-21 17:27:12 +05:30
parent bbcb6dc702
commit caa092f6c5

View File

@@ -93,7 +93,7 @@ class _CustomScrollBarState extends State<CustomScrollBar> {
_logger.info("Initializing CustomScrollBar2");
if (widget.galleryGroups.groupType.showScrollbarDivisions() &&
widget.galleryGroups.groupLayouts.last.maxOffset >
widget.heighOfViewport * 6) {
widget.heighOfViewport * 8) {
_showScrollbarDivisions = true;
} else {
_showScrollbarDivisions = false;