File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ const {
9999 errorCodeObjects ,
100100} = useStatusConditions (effectiveConditions)
101101
102- const EDGE_THRESHOLD = 24
103- const SCROLL_STEP = 8
102+ const EDGE_THRESHOLD = 12
103+ const SCROLL_STEP = 2
104104
105105const containerRef = ref (null )
106106const hovered = ref (false )
@@ -109,7 +109,7 @@ let animationFrameId = null
109109let scrollDirection = 0
110110
111111function getScrollContainer () {
112- return containerRef .value ? .closest (' .scrollable-container--horizontal ' ) ?? null
112+ return containerRef .value ? .closest (' .scroll-x ' ) ?? null
113113}
114114
115115function stopAutoScroll () {
Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ const isStaleShoot = computed(() => {
8989 return ! shootStore .isShootActive (shootUid .value )
9090})
9191
92- const EDGE_THRESHOLD = 24
93- const SCROLL_STEP = 8
92+ const EDGE_THRESHOLD = 12
93+ const SCROLL_STEP = 2
9494
9595const containerRef = ref (null )
9696const hovered = ref (false )
@@ -99,7 +99,7 @@ let animationFrameId = null
9999let scrollDirection = 0
100100
101101function getScrollContainer () {
102- return containerRef .value ? .closest (' .scrollable-container--horizontal ' ) ?? null
102+ return containerRef .value ? .closest (' .scroll-x ' ) ?? null
103103}
104104
105105function stopAutoScroll () {
You can’t perform that action at this time.
0 commit comments