Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

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

ashilkncaa092f6c5a5
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/scrollbar/custom_scroll_bar.dart b/mobile/apps/photos/lib/ui/viewer/gallery/scrollbar/custom_scroll_bar.dart
index 8bd90b103a..fee59b1e25 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/scrollbar/custom_scroll_bar.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/scrollbar/custom_scroll_bar.dart
@@ -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;