Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
feat(cursor): drop the keep-inside-frame option
EtienneLescot76191fa50fcf
diff --git a/electron/ai-edition/style-preset-service.test.ts b/electron/ai-edition/style-preset-service.test.tsindex 96aa82240..41dd78eff 100644--- a/electron/ai-edition/style-preset-service.test.ts+++ b/electron/ai-edition/style-preset-service.test.ts@@ -31,7 +31,6 @@ const APPEARANCE: StylePresetAppearance = {motionBlur: 0.35,clickBounce: 2.5,model3d: false,- clipToBounds: false,},cursorShow: true,cursorAutoHide: false,diff --git a/electron/ipc/nativeBridge.presets.test.ts b/electron/ipc/nativeBridge.presets.test.tsindex 184b0f5bb..7228f5352 100644--- a/electron/ipc/nativeBridge.presets.test.ts+++ b/electron/ipc/nativeBridge.presets.test.ts@@ -51,7 +51,6 @@ const APPEARANCE: StylePresetAppearance = {motionBlur: 0.35,clickBounce: 2.5,model3d: false,- clipToBounds: false,},cursorShow: true,cursorAutoHide: false,diff --git a/src/components/ai-edition/RightPanes.tsx b/src/components/ai-edition/RightPanes.tsxindex cbed3b46a..86fec784e 100644--- a/src/components/ai-edition/RightPanes.tsx+++ b/src/components/ai-edition/RightPanes.tsx@@ -3588,15 +3588,6 @@ export function CursorPane() {}}/></div>- <div className={styles.paneRow}>- <span className={styles.label}>{ts("cursor.clipToBounds")}</span>- <Toggle- ariaLabel={ts("cursor.clipToBounds")}- checked={settings.cursor.clipToBounds}- disabled={!hasDocument}- onChange={(v) => void set({ cursor: { clipToBounds: v } })}- />- </div>{/* One switch for the modelled cursor. A hidden cursor has nothing to model, so therow is disabled then and both its hint and its tooltip say why. */}<divdiff --git a/src/components/ai-edition/WebcamOverlay.test.tsx b/src/components/ai-edition/WebcamOverlay.test.tsxindex 0e5575b6a..8e10dc352 100644--- a/src/components/ai-edition/WebcamOverlay.test.tsx+++ b/src/components/ai-edition/WebcamOverlay.test.tsx@@ -111,7 +111,6 @@ const baseLegacyEditor = {cursorMotionBlur: 0,cursorClickBounce: 0,cursorTheme: "default",- cursorClipToBounds: false,};describe("WebcamOverlay (per-clip camera resolution)", () => {diff --git a/src/components/video-editor/editorDefaults.ts b/src/components/video-editor/editorDefaults.tsindex 72028e8ec..2830710a6 100644--- a/src/components/video-editor/editorDefaults.ts+++ b/src/components/video-editor/editorDefaults.ts@@ -7,7 +7,6 @@ import {DEFAULT_CROP_REGION,DEFAULT_CURSOR_AUTO_HIDE,DEFAULT_CURSOR_CLICK_BOUNCE,- DEFAULT_CURSOR_CLIP_TO_BOUNDS,DEFAULT_CURSOR_MODEL3D,DEFAULT_CURSOR_MOTION_BLUR,DEFAULT_CURSOR_SIZE,@@ -81,7 +80,6 @@ export const DEFAULT_CURSOR_SETTINGS: CursorVisualSettings & { show: boolean; thmotionBlur: DEFAULT_CURSOR_MOTION_BLUR,clickBounce: DEFAULT_CURSOR_CLICK_BOUNCE,model3d: DEFAULT_CURSOR_MODEL3D,- clipToBounds: DEFAULT_CURSOR_CLIP_TO_BOUNDS,theme: DEFAULT_CURSOR_THEME_ID,};diff --git a/src/components/video-editor/projectPersistence.test.ts b/src/components/video-editor/projectPersistence.test.tsindex fb9d477dd..14b6f06bb 100644--- a/src/components/video-editor/projectPersistence.test.ts+++ b/src/components/video-editor/projectPersistence.test.ts@@ -87,14 +87,12 @@ describe("projectPersistence media compatibility", () => {cursorSmoothing: 0.5,cursorMotionBlur: 0.1,cursorClickBounce: 1.5,- cursorClipToBounds: true,});expect(editor).toMatchObject({cursorSize: 0.3,cursorSmoothing: 0.5,cursorMotionBlur: 0.1,cursorClickBounce: 1.5,- cursorClipToBounds: true,});});@@ -102,13 +100,11 @@ describe("projectPersistence media compatibility", () => {const editor = normalizeProjectEditor({cursorSize: Number.NaN,cursorClickBounce: "big" as never,- cursorClipToBounds: "yes" as never,});expect("cursorSize" in editor).toBe(false);expect("cursorSmoothing" in editor).toBe(false);expect("cursorMotionBlur" in editor).toBe(false);expect("cursorClickBounce" in editor).toBe(false);- expect("cursorClipToBounds" in editor).toBe(false);});it("normalizes webcam mask shape values safely", () => {diff --git a/src/components/video-editor/projectPersistence.ts b/src/components/video-editor/projectPersistence.tsindex 44b8aa250..43d863d65 100644--- a/src/components/video-editor/projectPersistence.ts+++ b/src/components/video-editor/projectPersistence.ts@@ -108,7 +108,6 @@ export interface ProjectEditorState {cursorSmoothing?: number;cursorMotionBlur?: number;cursorClickBounce?: number;- cursorClipToBounds?: boolean;}export interface EditorProjectData {@@ -497,9 +496,6 @@ export function normalizeProjectEditor(editor: Partial<ProjectEditorState>): Pro...(isFiniteNumber(editor.cursorClickBounce)? { cursorClickBounce: editor.cursorClickBounce }: {}),- ...(typeof editor.cursorClipToBounds === "boolean"- ? { cursorClipToBounds: editor.cursorClipToBounds }- : {}),wallpaper:typeof editor.wallpaper === "string"? normalizeWallpaperValue(editor.wallpaper)diff --git a/src/components/video-editor/types.ts b/src/components/video-editor/types.tsindex 426d531d1..e6273d18c 100644--- a/src/components/video-editor/types.ts+++ b/src/components/video-editor/types.ts@@ -275,7 +275,6 @@ export interface CursorVisualSettings {* each click; pointing shapes also lean towards their motion. Other themes stay flat sprites.*/model3d: boolean;- clipToBounds: boolean;autoHide?: boolean;}@@ -285,8 +284,6 @@ export const DEFAULT_CURSOR_MOTION_BLUR = 0.35;export const DEFAULT_CURSOR_CLICK_BOUNCE = 2.5;// Off: the flat sprite every existing project renders.export const DEFAULT_CURSOR_MODEL3D = false;-// false lets the cursor overflow into the background; true clips it to the canvas bounds.-export const DEFAULT_CURSOR_CLIP_TO_BOUNDS = false;export const DEFAULT_CURSOR_AUTO_HIDE = false;export const DEFAULT_ZOOM_MOTION_BLUR = 0.35;diff --git a/src/i18n/locales/ar/settings.json b/src/i18n/locales/ar/settings.jsonindex 4b2893f4d..e0b2b3ab8 100644--- a/src/i18n/locales/ar/settings.json+++ b/src/i18n/locales/ar/settings.json@@ -408,12 +408,10 @@"model3dHint": "النمط الافتراضي: تصبح كل أشكال المؤشر ثلاثية الأبعاد. تبقى الأنماط الأخرى مسطحة.","model3dNeedsCursor": "فعّل «إظهار المؤشر» لاستخدام المؤشر ثلاثي الأبعاد.","help": "عرض المؤشر اعتمادًا على بيانات التتبع المسجّلة: السمة، والحجم، والتنعيم، وضبابية الحركة، وارتداد النقر.",- "clipToBoundsDescription": "يبقي المؤشر داخل إطار الفيديو. أوقف التشغيل للسماح للمؤشر بتجاوز الحواف - مفيد عند التكبير أو التحريك.","size": "الحجم","title": "المؤشر","show": "إظهار المؤشر","themeDefault": "افتراضي",- "clipToBounds": "القص ضمن اللوحة","motionBlur": "ضبابية الحركة","theme": "نمط المؤشر","autoHide": "إخفاء عند عدم النشاط"diff --git a/src/i18n/locales/cs/settings.json b/src/i18n/locales/cs/settings.jsonindex 797a8c861..a5af14849 100644--- a/src/i18n/locales/cs/settings.json+++ b/src/i18n/locales/cs/settings.json@@ -408,12 +408,10 @@"model3dHint": "Výchozí styl: všechny tvary kurzoru budou 3D. Ostatní styly zůstanou ploché.","model3dNeedsCursor": "Zapněte „Zobrazit kurzor“, abyste mohli použít 3D kurzor.","help": "Renderování kurzoru ze zaznamenané telemetrie: motiv, velikost, vyhlazení, pohybové rozmazání a zdůraznění odrazu při kliknutí.",- "clipToBoundsDescription": "Udržuje kurzor uvnitř rámce videa. Vypněte, pokud chcete, aby kurzor přesahoval okraje, což se hodí při přiblížení nebo posunu.","size": "Velikost","title": "Kurzor","show": "Zobrazit kurzor","themeDefault": "Výchozí",- "clipToBounds": "Oříznout na plátno","motionBlur": "Pohybové rozmazání","theme": "Styl kurzoru","autoHide": "Automaticky skrýt, když je neaktivní"diff --git a/src/i18n/locales/de/settings.json b/src/i18n/locales/de/settings.jsonindex e768908ee..cea0c489f 100644--- a/src/i18n/locales/de/settings.json+++ b/src/i18n/locales/de/settings.json@@ -408,12 +408,10 @@"model3dHint": "Standardstil: Jede Cursorform wird 3D. Andere Stile bleiben flach.","model3dNeedsCursor": "Aktiviere „Cursor anzeigen“, um den 3D-Cursor zu verwenden.","help": "Cursor-Darstellung aus der aufgezeichneten Telemetrie: Stil, Größe, Glättung, Bewegungsunschärfe und Klick-Federung.",- "clipToBoundsDescription": "Hält den Cursor innerhalb des Videobilds. Schalte es aus, damit der Cursor über die Ränder hinausragen kann — nützlich beim Hineinzoomen oder Verschieben.","size": "Größe","title": "Cursor","show": "Cursor anzeigen","themeDefault": "Standard",- "clipToBounds": "Auf Canvas begrenzen","motionBlur": "Bewegungsunschärfe","theme": "Cursor-Stil","autoHide": "Bei Inaktivität ausblenden"diff --git a/src/i18n/locales/en/settings.json b/src/i18n/locales/en/settings.jsonindex 2c58da7eb..cda57adce 100644--- a/src/i18n/locales/en/settings.json+++ b/src/i18n/locales/en/settings.json@@ -408,12 +408,10 @@"model3dHint": "Default style: every cursor shape turns 3D. Other styles stay flat.","model3dNeedsCursor": "Turn on “Show cursor” to use the 3D cursor.","help": "How the recorded cursor is drawn: style, size, smoothing, motion blur and click bounce.",- "clipToBoundsDescription": "Keeps the cursor inside the video frame. Turn off to let the cursor extend past the edges - useful when zoomed in or panned.","size": "Size","title": "Cursor","show": "Show cursor","themeDefault": "Default",- "clipToBounds": "Keep inside frame","motionBlur": "Motion blur","theme": "Cursor style","autoHide": "Auto-hide when inactive"diff --git a/src/i18n/locales/es/settings.json b/src/i18n/locales/es/settings.jsonindex d863cbb3c..b35c499e6 100644--- a/src/i18n/locales/es/settings.json+++ b/src/i18n/locales/es/settings.json@@ -408,12 +408,10 @@"model3dHint": "Estilo predeterminado: todas las formas del cursor pasan a 3D. Los demás estilos siguen planos.","model3dNeedsCursor": "Activa «Mostrar cursor» para usar el cursor 3D.","help": "Representación del cursor a partir de la telemetría grabada: tema, tamaño, suavizado, desenfoque de movimiento y rebote al hacer clic.",- "clipToBoundsDescription": "Mantiene el cursor dentro del cuadro del vídeo. Desactívalo para dejar que el cursor sobrepase los bordes; útil al hacer zoom o desplazar la imagen.","size": "Tamaño","title": "Cursor","show": "Mostrar cursor","themeDefault": "Predeterminado",- "clipToBounds": "Recortar al lienzo","motionBlur": "Desenfoque de movimiento","theme": "Estilo del cursor","autoHide": "Ocultar si está inactivo"diff --git a/src/i18n/locales/fr/settings.json b/src/i18n/locales/fr/settings.jsonindex f63da7e8f..a699b627f 100644--- a/src/i18n/locales/fr/settings.json+++ b/src/i18n/locales/fr/settings.json@@ -408,12 +408,10 @@"model3dHint": "Style par défaut : toutes les formes du curseur passent en 3D. Les autres styles restent plats.","model3dNeedsCursor": "Activez « Afficher le curseur » pour utiliser le curseur 3D.","help": "Rendu du curseur à partir de la télémétrie enregistrée : thème, taille, lissage, flou de mouvement et rebond au clic.",- "clipToBoundsDescription": "Garde le curseur à l'intérieur du cadre vidéo. Désactivez pour laisser le curseur dépasser les bords — utile en cas de zoom ou de panoramique.","size": "Taille","title": "Curseur","show": "Afficher le curseur","themeDefault": "Par défaut",- "clipToBounds": "Rogner au canevas","motionBlur": "Flou de mouvement","theme": "Style du curseur","autoHide": "Masquer si inactif"diff --git a/src/i18n/locales/it/settings.json b/src/i18n/locales/it/settings.jsonindex 57b34a58e..590b1e8dc 100644--- a/src/i18n/locales/it/settings.json+++ b/src/i18n/locales/it/settings.json@@ -408,12 +408,10 @@"model3dHint": "Stile predefinito: tutte le forme del cursore diventano 3D. Gli altri stili restano piatti.","model3dNeedsCursor": "Attiva «Mostra cursore» per usare il cursore 3D.","help": "Resa del cursore dalla telemetria registrata: tema, dimensione, smussatura, sfocatura di movimento e rimbalzo al clic.",- "clipToBoundsDescription": "Mantiene il cursore all'interno del fotogramma video. Disattiva per lasciare che il cursore superi i bordi — utile quando si esegue zoom o panoramica.","size": "Dimensione","title": "Cursore","show": "Mostra cursore","themeDefault": "Predefinito",- "clipToBounds": "Ritaglia al canvas","motionBlur": "Sfocatura movimento","theme": "Stile del cursore","autoHide": "Nascondi se inattivo"diff --git a/src/i18n/locales/ja-JP/settings.json b/src/i18n/locales/ja-JP/settings.jsonindex 933bf2c4b..7ee3bcc51 100644--- a/src/i18n/locales/ja-JP/settings.json+++ b/src/i18n/locales/ja-JP/settings.json@@ -408,12 +408,10 @@"model3dHint": "デフォルトのスタイル:すべてのカーソル形状が 3D になります。その他のスタイルは平面のままです。","model3dNeedsCursor": "3D カーソルを使うには「カーソルを表示」をオンにしてください。","help": "記録されたテレメトリからのカーソル描画: テーマ、サイズ、スムージング、モーションブラー、クリック時のバウンス。",- "clipToBoundsDescription": "カーソルを映像フレーム内に保ちます。オフにするとカーソルが端からはみ出せるようになります。ズームやパン時に便利です。","size": "サイズ","title": "カーソル","show": "カーソルを表示","themeDefault": "デフォルト",- "clipToBounds": "キャンバスにクリップ","motionBlur": "モーションブラー","theme": "カーソルのスタイル","autoHide": "非アクティブ時に非表示"diff --git a/src/i18n/locales/ko-KR/settings.json b/src/i18n/locales/ko-KR/settings.jsonindex e87357910..612d21dbd 100644--- a/src/i18n/locales/ko-KR/settings.json+++ b/src/i18n/locales/ko-KR/settings.json@@ -408,12 +408,10 @@"model3dHint": "기본 스타일: 모든 커서 모양이 3D로 바뀝니다. 다른 스타일은 평면으로 유지됩니다.","model3dNeedsCursor": "3D 커서를 사용하려면 '커서 표시'를 켜세요.","help": "기록된 텔레메트리를 기반으로 한 커서 렌더링: 테마, 크기, 스무딩, 모션 블러, 클릭 바운스.",- "clipToBoundsDescription": "커서를 비디오 프레임 안에 유지합니다. 꺼두면 확대하거나 이동할 때 커서가 가장자리를 벗어날 수 있습니다.","size": "크기","title": "커서","show": "커서 표시","themeDefault": "기본",- "clipToBounds": "캔버스에 맞춰 자르기","motionBlur": "모션 블러","theme": "커서 스타일","autoHide": "비활성 시 자동 숨김"diff --git a/src/i18n/locales/pt-BR/settings.json b/src/i18n/locales/pt-BR/settings.jsonindex 36b3fae9d..0bff96535 100644--- a/src/i18n/locales/pt-BR/settings.json+++ b/src/i18n/locales/pt-BR/settings.json@@ -408,12 +408,10 @@"model3dHint": "Estilo padrão: todas as formas do cursor ficam em 3D. Os outros estilos continuam planos.","model3dNeedsCursor": "Ative “Mostrar cursor” para usar o cursor 3D.","help": "Renderização do cursor a partir da telemetria gravada: tema, tamanho, suavização, desfoque de movimento e salto ao clicar.",- "clipToBoundsDescription": "Mantém o cursor dentro do quadro do vídeo. Desative para permitir que o cursor ultrapasse as bordas — útil ao aplicar zoom ou ao deslocar.","size": "Tamanho","title": "Cursor","show": "Mostrar cursor","themeDefault": "Padrão",- "clipToBounds": "Recortar à tela","motionBlur": "Desfoque de movimento","theme": "Estilo do cursor","autoHide": "Ocultar quando inativo"diff --git a/src/i18n/locales/ru/settings.json b/src/i18n/locales/ru/settings.jsonindex ea5f4d66d..5d58aab74 100644--- a/src/i18n/locales/ru/settings.json+++ b/src/i18n/locales/ru/settings.json@@ -408,12 +408,10 @@"model3dHint": "Стиль по умолчанию: все формы курсора становятся объёмными. Остальные стили остаются плоскими.","model3dNeedsCursor": "Включите «Показывать курсор», чтобы использовать 3D-курсор.","help": "Отрисовка курсора по записанной телеметрии: тема, размер, сглаживание, размытие движения и отскок при клике.",- "clipToBoundsDescription": "Удерживает курсор внутри кадра видео. Отключите, чтобы курсор мог выходить за края — полезно при увеличении или панорамировании.","size": "Размер","title": "Курсор","show": "Показывать курсор","themeDefault": "По умолчанию",- "clipToBounds": "Обрезать по холсту","motionBlur": "Размытие движения","theme": "Стиль курсора","autoHide": "Скрывать при неактивности"diff --git a/src/i18n/locales/tr/settings.json b/src/i18n/locales/tr/settings.jsonindex 39c8f912c..b5f0aba3c 100644--- a/src/i18n/locales/tr/settings.json+++ b/src/i18n/locales/tr/settings.json@@ -408,12 +408,10 @@"model3dHint": "Varsayılan stil: tüm imleç şekilleri 3B olur. Diğer stiller düz kalır.","model3dNeedsCursor": "3B imleci kullanmak için «İmleci Göster»i açın.","help": "Kaydedilen telemetriden imleç çizimi: tema, boyut, yumuşatma, hareket bulanıklığı ve tıklama sıçraması.",- "clipToBoundsDescription": "İmleci video kare içinde tutar. İmlecin kenarları aşmasına izin vermek için kapatın — yakınlaştırma veya kaydırma yapılırken kullanışlıdır.","size": "Boyut","title": "İmleç","show": "İmleci Göster","themeDefault": "Varsayılan",- "clipToBounds": "Tuvale Kırp","motionBlur": "Hareket Bulanıklığı","theme": "İmleç Stili","autoHide": "Hareketsizken gizle"diff --git a/src/i18n/locales/vi/settings.json b/src/i18n/locales/vi/settings.jsonindex 628841831..19a0b8ce0 100644--- a/src/i18n/locales/vi/settings.json+++ b/src/i18n/locales/vi/settings.json@@ -408,12 +408,10 @@"model3dHint": "Kiểu mặc định: mọi hình dạng con trỏ đều thành 3D. Các kiểu khác vẫn phẳng.","model3dNeedsCursor": "Bật “Hiện con trỏ” để dùng con trỏ 3D.","help": "Cách vẽ con trỏ từ dữ liệu đã ghi: chủ đề, kích thước, làm mượt, mờ chuyển động và hiệu ứng nảy khi nhấp.",- "clipToBoundsDescription": "Giữ con trỏ bên trong khung hình video. Tắt để cho phép con trỏ vượt ra ngoài mép — hữu ích khi phóng to hoặc lia máy.","size": "Kích thước","title": "Con trỏ","show": "Hiện con trỏ","themeDefault": "Mặc định",- "clipToBounds": "Cắt theo khung","motionBlur": "Làm mờ chuyển động","theme": "Kiểu con trỏ","autoHide": "Ẩn khi không hoạt động"diff --git a/src/i18n/locales/zh-CN/settings.json b/src/i18n/locales/zh-CN/settings.jsonindex 09f89c789..32fa8a867 100644--- a/src/i18n/locales/zh-CN/settings.json+++ b/src/i18n/locales/zh-CN/settings.json@@ -408,12 +408,10 @@"model3dHint": "默认样式:所有光标形状都变为 3D。其他样式保持平面。","model3dNeedsCursor": "开启“显示光标”后才能使用 3D 光标。","help": "基于录制遥测数据的光标渲染:主题、大小、平滑、运动模糊和点击回弹。",- "clipToBoundsDescription": "将光标保持在视频画面内。关闭后光标可以超出边缘——在放大或平移时很有用。","size": "大小","title": "光标","show": "显示光标","themeDefault": "默认",- "clipToBounds": "裁剪到画布","motionBlur": "运动模糊","theme": "光标样式","autoHide": "闲置时隐藏"diff --git a/src/i18n/locales/zh-TW/settings.json b/src/i18n/locales/zh-TW/settings.jsonindex 684054a8d..83877a84f 100644--- a/src/i18n/locales/zh-TW/settings.json+++ b/src/i18n/locales/zh-TW/settings.json@@ -408,12 +408,10 @@"model3dHint": "預設樣式:所有游標形狀都會變成 3D。其他樣式維持平面。","model3dNeedsCursor": "開啟「顯示游標」後才能使用 3D 游標。","help": "根據錄製的遙測資料繪製游標:主題、大小、平滑、動態模糊與點擊回彈。",- "clipToBoundsDescription": "讓游標保持在影片畫面內。關閉後游標可超出邊緣——在縮放或平移時很有用。","size": "大小","title": "游標","show": "顯示游標","themeDefault": "預設",- "clipToBounds": "裁切至畫布","motionBlur": "動態模糊","theme": "游標樣式","autoHide": "閒置時隱藏"diff --git a/src/lib/ai-edition/store/editorSettings.ts b/src/lib/ai-edition/store/editorSettings.tsindex 7fd28a68e..3dc779097 100644--- a/src/lib/ai-edition/store/editorSettings.ts+++ b/src/lib/ai-edition/store/editorSettings.ts@@ -161,7 +161,6 @@ interface LegacyShape {cursorMotionBlur?: number;cursorClickBounce?: number;cursorModel3d?: boolean;- cursorClipToBounds?: boolean;cursorShow?: boolean;cursorAutoHide?: boolean;cursorTheme?: string;@@ -196,7 +195,6 @@ export function getEditorSettings(doc: AxcutDocument | null | undefined): EditorclickBounce: num(legacy?.cursorClickBounce, DEFAULT_EDITOR_SETTINGS.cursor.clickBounce),// Absent in every project saved before the setting existed: those keep the flat cursor.model3d: bool(legacy?.cursorModel3d, DEFAULT_EDITOR_SETTINGS.cursor.model3d),- clipToBounds: bool(legacy?.cursorClipToBounds, DEFAULT_EDITOR_SETTINGS.cursor.clipToBounds),autoHide: bool(legacy?.cursorAutoHide, DEFAULT_EDITOR_SETTINGS.cursorAutoHide),};@@ -317,7 +315,6 @@ function nextLegacy(current: LegacyShape | null, patch: EditorSettingsPatch): Leif (c.motionBlur !== undefined) next.cursorMotionBlur = c.motionBlur;if (c.clickBounce !== undefined) next.cursorClickBounce = c.clickBounce;if (c.model3d !== undefined) next.cursorModel3d = c.model3d;- if (c.clipToBounds !== undefined) next.cursorClipToBounds = c.clipToBounds;if (c.theme !== undefined) next.cursorTheme = c.theme;if (c.show !== undefined) next.cursorShow = c.show;if (c.autoHide !== undefined) next.cursorAutoHide = c.autoHide;diff --git a/src/lib/ai-edition/stylePresets.test.ts b/src/lib/ai-edition/stylePresets.test.tsindex e2b4944a5..8c0377585 100644--- a/src/lib/ai-edition/stylePresets.test.ts+++ b/src/lib/ai-edition/stylePresets.test.ts@@ -39,7 +39,6 @@ function appearance(overrides: Partial<StylePresetAppearance> = {}): StylePresetmotionBlur: 0.35,clickBounce: 2.5,model3d: false,- clipToBounds: false,},cursorShow: true,cursorAutoHide: false,diff --git a/src/lib/ai-edition/stylePresets.ts b/src/lib/ai-edition/stylePresets.tsindex f15f1e191..ae87d5d19 100644--- a/src/lib/ai-edition/stylePresets.ts+++ b/src/lib/ai-edition/stylePresets.ts@@ -295,7 +295,6 @@ export function parseStylePresetAppearance(value: unknown): StylePresetAppearancclickBounce: readNumber(cursor, "clickBounce", CURSOR_NUMBER_RANGES.clickBounce, "cursor."),// Presets written before the 3D cursor existed meant the flat one.model3d: cursor.model3d === undefined ? false : readBoolean(cursor, "model3d", "cursor."),- clipToBounds: readBoolean(cursor, "clipToBounds", "cursor."),},cursorShow: readBoolean(value, "cursorShow"),cursorAutoHide: readBoolean(value, "cursorAutoHide"),diff --git a/src/lib/ai-edition/stylePresetsEditor.test.ts b/src/lib/ai-edition/stylePresetsEditor.test.tsindex 281f3da27..ddf470618 100644--- a/src/lib/ai-edition/stylePresetsEditor.test.ts+++ b/src/lib/ai-edition/stylePresetsEditor.test.ts@@ -49,7 +49,6 @@ function styledSettings(): EditorSettingsSnapshot {motionBlur: 0.9,clickBounce: 4,model3d: true,- clipToBounds: true,},cursorShow: false,cursorAutoHide: true,diff --git a/src/lib/ai-edition/stylePresetsEditor.ts b/src/lib/ai-edition/stylePresetsEditor.tsindex 01f4f6de6..43b94c5a1 100644--- a/src/lib/ai-edition/stylePresetsEditor.ts+++ b/src/lib/ai-edition/stylePresetsEditor.ts@@ -39,7 +39,6 @@ export function stylePresetAppearanceFromSettings(motionBlur: settings.cursor.motionBlur,clickBounce: settings.cursor.clickBounce,model3d: settings.cursor.model3d,- clipToBounds: settings.cursor.clipToBounds,},cursorShow: settings.cursorShow,cursorAutoHide: settings.cursorAutoHide,diff --git a/src/lib/projectDefaults.ts b/src/lib/projectDefaults.tsindex baab573f8..6f5a1d497 100644--- a/src/lib/projectDefaults.ts+++ b/src/lib/projectDefaults.ts@@ -93,7 +93,6 @@ export interface ProjectAppearanceDefaults {motionBlur: number;clickBounce: number;model3d: boolean;- clipToBounds: boolean;autoHide: boolean;};cursorShow: boolean;@@ -133,7 +132,6 @@ export const DEFAULT_PROJECT_APPEARANCE: ProjectAppearanceDefaults = {motionBlur: 0.35,clickBounce: 2.5,model3d: false,- clipToBounds: false,autoHide: false,},cursorShow: true,diff --git a/src/native/browserShim.presets.test.ts b/src/native/browserShim.presets.test.tsindex fdb893559..fcb720473 100644--- a/src/native/browserShim.presets.test.ts+++ b/src/native/browserShim.presets.test.ts@@ -35,7 +35,6 @@ const APPEARANCE: StylePresetAppearance = {motionBlur: 0.35,clickBounce: 2.5,model3d: false,- clipToBounds: false,},cursorShow: true,cursorAutoHide: false,diff --git a/src/native/sceneDescription.test.ts b/src/native/sceneDescription.test.tsindex f1edd4812..184b388ad 100644--- a/src/native/sceneDescription.test.ts+++ b/src/native/sceneDescription.test.ts@@ -1126,7 +1126,8 @@ describe("buildSceneDescription.settings mapping", () => {expect(cursor.smoothing).toBe(0.9);expect(cursor.motionBlur).toBe(0.5);expect(cursor.clickBounce).toBe(1.5);- expect(cursor.clipToBounds).toBe(true);+ // The option is gone: a project that had it on now overflows like every other one.+ expect(cursor.clipToBounds).toBe(false);});it("maps show / theme / shape / mirror through to layout+cursor", () => {diff --git a/src/native/sceneDescription.ts b/src/native/sceneDescription.tsindex 5627ae84a..9e01e6bc2 100644--- a/src/native/sceneDescription.ts+++ b/src/native/sceneDescription.ts@@ -1099,7 +1099,9 @@ export function buildSceneDescription(motionBlur: settings.cursor.motionBlur,clickBounce: settings.cursor.clickBounce,model3d: settings.cursor.model3d,- clipToBounds: settings.cursor.clipToBounds,+ // The "Keep inside frame" option is gone: the cursor always overflows into the+ // background. The field stays because the compositor's scene requires it.+ clipToBounds: false,theme: settings.cursorTheme,},audio: {diff --git a/website/scripts/gen-recreation.mjs b/website/scripts/gen-recreation.mjsindex 6259f7758..12157e0fd 100644--- a/website/scripts/gen-recreation.mjs+++ b/website/scripts/gen-recreation.mjs@@ -791,13 +791,9 @@ const CONTROLS = {"px",`${le.borderRadius}px`,),- // RightPanes.tsx:1755, :1771 — Cursor. `show` and `clipToBounds` are not in- // this document, so they are the app's own defaults rather than a guess.+ // RightPanes.tsx:1755 — Cursor. `show` is not in this document, so it is the+ // app's own default rather than a guess.cursorShow: { label: t("settings:cursor.show"), on: defaultBool("cursorShow") },- clipToBounds: {- label: t("settings:cursor.clipToBounds"),- on: defaultBool("DEFAULT_CURSOR_CLIP_TO_BOUNDS"),- },cursorTheme: { label: t("settings:cursor.theme"), value: le.cursorTheme },cursorSize: slider(t("settings:cursor.size"),@@ -908,7 +904,6 @@ const PANELS = {cursor: {title: t("settings:cursor.title"),show: t("settings:cursor.show"),- clipToBounds: t("settings:cursor.clipToBounds"),theme: t("settings:cursor.theme"),size: t("settings:cursor.size"),smoothing: t("settings:cursor.smoothing"),@@ -1098,10 +1093,6 @@ const PROVENANCE = [},{ shown: PANELS.cursor.title, source: "src/i18n/locales/en/settings.json → cursor.title" },{ shown: PANELS.cursor.show, source: "src/i18n/locales/en/settings.json → cursor.show" },- {- shown: PANELS.cursor.clipToBounds,- source: "src/i18n/locales/en/settings.json → cursor.clipToBounds",- },{ shown: PANELS.cursor.theme, source: "src/i18n/locales/en/settings.json → cursor.theme" },{ shown: PANELS.cursor.size, source: "src/i18n/locales/en/settings.json → cursor.size" },{diff --git a/website/src/components/Recreation/generated.ts b/website/src/components/Recreation/generated.tsindex 3cf236df5..e297c41a7 100644--- a/website/src/components/Recreation/generated.ts+++ b/website/src/components/Recreation/generated.ts@@ -554,7 +554,6 @@ export const PANELS = {cursor: {title: "Cursor",show: "Show cursor",- clipToBounds: "Keep inside frame",theme: "Cursor style",size: "Size",smoothing: "Smoothing",@@ -613,10 +612,6 @@ export const CONTROLS = {label: "Show cursor",on: true,},- clipToBounds: {- label: "Keep inside frame",- on: false,- },cursorTheme: {label: "Cursor style",value: "default",@@ -810,7 +805,6 @@ export const PROVENANCE: ProvenanceEntry[] = [{ shown: "Roundness", source: "src/i18n/locales/en/settings.json → effects.roundness" },{ shown: "Cursor", source: "src/i18n/locales/en/settings.json → cursor.title" },{ shown: "Show cursor", source: "src/i18n/locales/en/settings.json → cursor.show" },- { shown: "Keep inside frame", source: "src/i18n/locales/en/settings.json → cursor.clipToBounds" },{ shown: "Cursor style", source: "src/i18n/locales/en/settings.json → cursor.theme" },{ shown: "Size", source: "src/i18n/locales/en/settings.json → cursor.size" },{ shown: "Smoothing", source: "src/i18n/locales/en/settings.json → cursor.smoothing" },diff --git a/website/src/components/Recreation/index.tsx b/website/src/components/Recreation/index.tsxindex e06114a85..d7170df4c 100644--- a/website/src/components/Recreation/index.tsx+++ b/website/src/components/Recreation/index.tsx@@ -367,7 +367,6 @@ export default function Recreation() {{/* ── Cursor ── */}<div className={styles.pane} data-pane="cursor"><Toggle label={CONTROLS.cursorShow.label} on={CONTROLS.cursorShow.on} />- <Toggle label={CONTROLS.clipToBounds.label} on={CONTROLS.clipToBounds.on} /><span className={styles.controlLabel}>{CONTROLS.cursorTheme.label}</span><span className={styles.cursorStyles}>{CURSORS.themes.map((theme, i) => (