Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

feat(editor): add smooth and fast cursor options and lower motion blur default

Richie McIlroy2e70210f2be6
diff --git a/apps/desktop/src/routes/editor/ConfigSidebar.tsx b/apps/desktop/src/routes/editor/ConfigSidebar.tsx
index 442d28c59..8f2a124a7 100644
--- a/apps/desktop/src/routes/editor/ConfigSidebar.tsx
+++ b/apps/desktop/src/routes/editor/ConfigSidebar.tsx
@@ -220,7 +220,7 @@ type CursorPresetValues = {
friction: number;
};
-const DEFAULT_CURSOR_MOTION_BLUR = 1.0;
+const DEFAULT_CURSOR_MOTION_BLUR = 0.3;
const CURSOR_TYPE_OPTIONS = [
{
@@ -242,12 +242,24 @@ const CURSOR_ANIMATION_STYLE_OPTIONS = [
description: "Relaxed easing with a gentle follow and higher inertia.",
preset: { tension: 65, mass: 1.8, friction: 16 },
},
+ {
+ value: "smooth",
+ label: "Smooth",
+ description: "Ultra-smooth cinematic feel with high damping.",
+ preset: { tension: 80, mass: 2.5, friction: 28 },
+ },
{
value: "mellow",
label: "Mellow",
description: "Balanced smoothing for everyday tutorials and walkthroughs.",
preset: { tension: 120, mass: 1.1, friction: 18 },
},
+ {
+ value: "fast",
+ label: "Fast",
+ description: "Quick, responsive smoothing for fast-paced content.",
+ preset: { tension: 380, mass: 1.0, friction: 30 },
+ },
{
value: "custom",
label: "Custom",