Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix(desktop): remove unnecessary type cast on cursor rotationAmount
Richie McIlroyf6fcbb2c7938
diff --git a/apps/desktop/src/routes/editor/ConfigSidebar.tsx b/apps/desktop/src/routes/editor/ConfigSidebar.tsxindex 7ba48e6bb..91117b678 100644--- a/apps/desktop/src/routes/editor/ConfigSidebar.tsx+++ b/apps/desktop/src/routes/editor/ConfigSidebar.tsx@@ -622,9 +622,7 @@ export function ConfigSidebar() {<Field name="Tilt" icon={<IconLucideRotate3d class="size-4" />}><Slidervalue={[project.cursor.rotationAmount ?? 0.15]}- onChange={(v) =>- setProject("cursor", "rotationAmount" as any, v[0])- }+ onChange={(v) => setProject("cursor", "rotationAmount", v[0])}minValue={0}maxValue={1}step={0.01}