mici scroller: default no snapping (#37316)

* change default

* fix
This commit is contained in:
Shane Smiskol
2026-02-21 22:35:41 -08:00
committed by GitHub
parent cdcc2f6766
commit f99dc2eab2
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ class ScrollIndicator(Widget):
class Scroller(Widget):
def __init__(self, items: list[Widget], horizontal: bool = True, snap_items: bool = True, spacing: int = ITEM_SPACING,
def __init__(self, items: list[Widget], horizontal: bool = True, snap_items: bool = False, spacing: int = ITEM_SPACING,
pad: int = ITEM_SPACING, scroll_indicator: bool = True, edge_shadows: bool = True):
super().__init__()
self._items: list[Widget] = []