Skip to content

Create polished demo videos without editing skills. Mac/Windows/Linux

Fix remaining click effect review issues

webadderall968c66033dd1
diff --git a/src/components/video-editor/SettingsPanel.tsx b/src/components/video-editor/SettingsPanel.tsx
index 0ac72244..1a4c1955 100644
--- a/src/components/video-editor/SettingsPanel.tsx
+++ b/src/components/video-editor/SettingsPanel.tsx
@@ -1816,6 +1816,7 @@ export function SettingsPanel({
onCursorSpringMassMultiplierChange?.(initialEditorPreferences.cursorSpringMassMultiplier);
onCursorMotionBlurChange?.(initialEditorPreferences.cursorMotionBlur);
onCursorClickEffectChange?.(initialEditorPreferences.cursorClickEffect);
+ onCursorClickEffectColorChange?.(initialEditorPreferences.cursorClickEffectColor);
onCursorClickEffectScaleChange?.(initialEditorPreferences.cursorClickEffectScale);
onCursorClickEffectOpacityChange?.(initialEditorPreferences.cursorClickEffectOpacity);
onCursorClickEffectDurationMsChange?.(initialEditorPreferences.cursorClickEffectDurationMs);
diff --git a/src/components/video-editor/VideoEditor.tsx b/src/components/video-editor/VideoEditor.tsx
index 7e629913..12908a6d 100644
--- a/src/components/video-editor/VideoEditor.tsx
+++ b/src/components/video-editor/VideoEditor.tsx
@@ -1216,6 +1216,7 @@ export default function VideoEditor() {
cursorClickBounce,
cursorClickBounceDuration,
cursorClickEffect,
+ cursorClickEffectColor,
cursorClickEffectScale,
cursorClickEffectOpacity,
cursorClickEffectDurationMs,
@@ -2539,6 +2540,7 @@ export default function VideoEditor() {
cameraSpringMassMultiplier,
cursorMotionBlur,
cursorClickEffect,
+ cursorClickEffectColor,
cursorClickEffectScale,
cursorClickEffectOpacity,
cursorClickEffectDurationMs,
@@ -4681,6 +4683,7 @@ export default function VideoEditor() {
zoomClassicMode,
cursorMotionBlur,
cursorClickEffect,
+ cursorClickEffectColor,
cursorClickEffectScale,
cursorClickEffectOpacity,
cursorClickEffectDurationMs,
diff --git a/src/components/video-editor/videoPlayback/cursorRenderer.ts b/src/components/video-editor/videoPlayback/cursorRenderer.ts
index a7fb89a3..f9207d60 100644
--- a/src/components/video-editor/videoPlayback/cursorRenderer.ts
+++ b/src/components/video-editor/videoPlayback/cursorRenderer.ts
@@ -1618,13 +1618,14 @@ export function drawCursorOnCanvas(
0.72,
1 - Math.sin(clickBounceProgress * Math.PI) * (0.08 * config.clickBounce),
);
- const drawHeight = h * bounceScale * getCursorStyleSizeMultiplier(config.style);
+ const effectHeight = h * getCursorStyleSizeMultiplier(config.style);
+ const drawHeight = effectHeight * bounceScale;
drawClickEffectOnCanvas(
ctx,
config.clickEffect,
clickEffectPx,
clickEffectPy,
- drawHeight,
+ effectHeight,
clickProgress,
config.clickEffectScale,
config.clickEffectOpacity,
diff --git a/src/i18n/locales/en/settings.json b/src/i18n/locales/en/settings.json
index 4aa92078..dc24cd97 100644
--- a/src/i18n/locales/en/settings.json
+++ b/src/i18n/locales/en/settings.json
@@ -118,9 +118,9 @@
"label": "Spotlight",
"description": "A soft halo flashes around the pointer to emphasize the clicked area."
},
- "burst": {
- "label": "Burst",
- "description": "A sharper radial burst adds more energy for demos and product walkthroughs."
+ "echo": {
+ "label": "Echo",
+ "description": "A pair of soft rings that spread outward with a cleaner pulse."
}
},
"cursorMotionBlur": "Cursor Motion Blur",