Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

clip tooltio

Siddharth1d7b677f9cc2
diff --git a/src/components/video-editor/SettingsPanel.tsx b/src/components/video-editor/SettingsPanel.tsx
index ebb373f45..cffeadcc2 100644
--- a/src/components/video-editor/SettingsPanel.tsx
+++ b/src/components/video-editor/SettingsPanel.tsx
@@ -7,6 +7,7 @@ import {
FileDown,
Film,
Image,
+ Info,
LayoutPanelTop,
Lock,
MousePointerClick,
@@ -38,6 +39,7 @@ import {
import { Slider } from "@/components/ui/slider";
import { Switch } from "@/components/ui/switch";
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
+import { Tooltip } from "@/components/ui/tooltip";
import { useScopedT } from "@/contexts/I18nContext";
import { WEBCAM_LAYOUT_PRESETS } from "@/lib/compositeLayout";
import type { ExportFormat, ExportQuality, GifFrameRate, GifSizePreset } from "@/lib/exporter";
@@ -1487,8 +1489,20 @@ export function SettingsPanel({
{showCursor && (
<>
<div className="flex items-center justify-between">
- <div className="text-[10px] font-medium text-slate-300">
- {t("cursor.clipToBounds")}
+ <div className="flex items-center gap-1 text-[10px] font-medium text-slate-300">
+ <span>{t("cursor.clipToBounds")}</span>
+ <Tooltip
+ content={t("cursor.clipToBoundsDescription")}
+ className="max-w-[220px] leading-snug whitespace-normal"
+ >
+ <button
+ type="button"
+ className="text-slate-400 transition-colors hover:text-slate-200"
+ aria-label={t("cursor.clipToBoundsDescription")}
+ >
+ <Info size={11} />
+ </button>
+ </Tooltip>
</div>
<Switch
checked={cursorClipToBounds}
diff --git a/src/i18n/locales/en/settings.json b/src/i18n/locales/en/settings.json
index 6936a6f84..020814386 100644
--- a/src/i18n/locales/en/settings.json
+++ b/src/i18n/locales/en/settings.json
@@ -212,7 +212,8 @@
"smoothing": "Smoothing",
"motionBlur": "Motion Blur",
"clickBounce": "Click Bounce",
- "clipToBounds": "Clip to Canvas"
+ "clipToBounds": "Clip to Canvas",
+ "clipToBoundsDescription": "Keeps the cursor inside the video frame. Turn off to let the cursor extend past the edges - useful when zoomed in or panned."
},
"language": {
"title": "Language"