Skip to content

Commit

Permalink
Merge pull request #18 from Tiamo-web66/master
Browse files Browse the repository at this point in the history
Modify the ikun icon position of silder ✏️
  • Loading branch information
laine001 authored Nov 22, 2024
2 parents 0da5632 + 861ca15 commit b8984a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ikui-components/slider/src/slider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const onDragEnd = (e: MouseEvent) => {
const dotComputedStyle: ComputedRef<CSSProperties> = computed(() => {
const l = `${shouldPosition.value}%`
return {
left: l,
left: props.ikun ? `${Number(shouldPosition.value) - 1}%` : l,
transform: props.ikun ? `rotate(${shouldPosition.value * 36}deg)` : '',
}
})
Expand Down

0 comments on commit b8984a9

Please sign in to comment.