FIX: Nvm, use endPos

This commit is contained in:
Robert Kossessa
2024-05-27 17:29:28 +02:00
parent 36ed1c77b3
commit 285a836469

View File

@@ -124,7 +124,7 @@ const appStore = useAppStore()
const deviceStore = useDeviceStore()
const devicePosition = computed(() => deviceStore.position || 0)
const maxDetent = computed(() => deviceStore.activeValue?.haptic?.detentCount || 100)
const maxDetent = computed(() => deviceStore.activeValue?.haptic?.endPos || 100)
const ringValue = computed(() => (devicePosition.value / maxDetent.value) * 100)
const previewDeviceImages = {