Skip to content

Commit b4c86c7

Browse files
committed
Further Improvements
1 parent 1bfe72d commit b4c86c7

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

frontend/src/components/GSeedStatusTags.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
105105
const containerRef = ref(null)
106106
const hovered = ref(false)
@@ -109,7 +109,7 @@ let animationFrameId = null
109109
let scrollDirection = 0
110110
111111
function getScrollContainer () {
112-
return containerRef.value?.closest('.scrollable-container--horizontal') ?? null
112+
return containerRef.value?.closest('.scroll-x') ?? null
113113
}
114114
115115
function stopAutoScroll () {

frontend/src/components/GStatusTags.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
9595
const containerRef = ref(null)
9696
const hovered = ref(false)
@@ -99,7 +99,7 @@ let animationFrameId = null
9999
let scrollDirection = 0
100100
101101
function getScrollContainer () {
102-
return containerRef.value?.closest('.scrollable-container--horizontal') ?? null
102+
return containerRef.value?.closest('.scroll-x') ?? null
103103
}
104104
105105
function stopAutoScroll () {

0 commit comments

Comments
 (0)