Skip to content

Commit

Permalink
Update zoom value in SliderRuler.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
CarelessCourage committed Oct 3, 2024
1 parent 02a9902 commit 7874597
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/nobel/components/ui/Slider/SliderRuler.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<script lang="ts" setup>
import { computed, ref } from 'vue'
import type { Ref } from 'vue'
const props = defineProps<{
value: number
max: number
Expand All @@ -9,7 +8,7 @@ const props = defineProps<{
pressed: boolean
}>()
const zoom = ref(10)
const zoom = ref(2)
const inverseZoom = computed(() => inverseScale(zoom.value))
const clampedValue = computed(() => {
Expand Down

0 comments on commit 7874597

Please sign in to comment.