Skip to content

Commit

Permalink
ci: apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Aug 14, 2024
1 parent d888446 commit c257810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/virtual-core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export const observeElementOffset = <T extends Element>(
const createHandler = (isScrolling: boolean) => () => {
const { horizontal, isRtl } = instance.options
offset = horizontal
? element['scrollLeft'] * (isRtl && -1 || 1)
? element['scrollLeft'] * ((isRtl && -1) || 1)
: element['scrollTop']
fallback()
cb(offset, isScrolling)
Expand Down

0 comments on commit c257810

Please sign in to comment.