You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FR: Create capture areas with fixed aspect ratios #1752
It'd be great if the area selection mode allowed constraining the recording area to a specific aspect ratio (and even better if it shipped with common presents for e.g. youtube/social media apps).
The capture area selection already has solid aspect ratio infrastructure that would support this feature. The Cropper component (apps/desktop/src/components/Cropper.tsx) already handles constrained aspect ratios - it supports passing an aspectRatio prop and has logic for snapping to common ratios like 1:1, 16:9, 9:16, etc. (see COMMON_RATIOS on line 80).
The capture area UI (apps/desktop/src/routes/capture-area.tsx) already has an aspect ratio button that opens a menu via showCropOptionsMenu - selecting a ratio from this menu locks the selection to that aspect. The menu includes all the common ratios plus a "Free" option and "Snap to ratios" toggle (see createCropOptionsMenuItems at line 1493 of the Cropper component).
The feature could be implemented by either extending COMMON_RATIOS with named presets and updating the menu items to show friendly names (e.g. "YouTube 16:9", "TikTok 9:16"), or by adding a separate "Presets" submenu to the capture area's aspect ratio dropdown.
Related: #1581 covered custom aspect ratios in the editor export (already implemented), and #1079 introduced the current unified Cropper component.
Activity
linear commentedon Apr 22, 2026
CAP-687
tembo commentedon Apr 22, 2026
The capture area selection already has solid aspect ratio infrastructure that would support this feature. The
Croppercomponent (apps/desktop/src/components/Cropper.tsx) already handles constrained aspect ratios - it supports passing anaspectRatioprop and has logic for snapping to common ratios like 1:1, 16:9, 9:16, etc. (seeCOMMON_RATIOSon line 80).The capture area UI (
apps/desktop/src/routes/capture-area.tsx) already has an aspect ratio button that opens a menu viashowCropOptionsMenu- selecting a ratio from this menu locks the selection to that aspect. The menu includes all the common ratios plus a "Free" option and "Snap to ratios" toggle (seecreateCropOptionsMenuItemsat line 1493 of the Cropper component).For the preset request specifically (YouTube, social media), the editor already defines social-friendly presets in
apps/desktop/src/routes/editor/projectConfig.ts:The feature could be implemented by either extending
COMMON_RATIOSwith named presets and updating the menu items to show friendly names (e.g. "YouTube 16:9", "TikTok 9:16"), or by adding a separate "Presets" submenu to the capture area's aspect ratio dropdown.Related: #1581 covered custom aspect ratios in the editor export (already implemented), and #1079 introduced the current unified Cropper component.
richiemcilroy commentedon Nov 4, 2026
This is in 0.6.2. The area selection toolbar has aspect ratio presets like 16:9, 9:16, 4:3 and 1:1, and a picked window can be resized to a ratio too.