From b22252ee8b028a6fc1d9c7a5c9d2a5ff220e97ae Mon Sep 17 00:00:00 2001 From: James Date: Mon, 11 May 2026 15:54:08 +0000 Subject: [PATCH] feat(studio): collapse render resolution dropdown to Auto / 1080p / 4K MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Orientation is a property of the composition, not a user choice — the backend's portrait/landscape presets are tied to the comp's authored aspect ratio. Letting users pick "1080p portrait" for a landscape composition just produces a wrong-aspect render. The dropdown now exposes three scale choices (Auto / 1080p / 4K) and maps to the correct portrait/landscape preset based on the active composition's data-width / data-height. Native setResolution(e.target.value as ResolutionPreset | "auto")} + value={scale} + onChange={(e) => setScale(e.target.value as RenderScale)} disabled={isRendering} - title={RESOLUTION_OPTIONS.find((r) => r.value === resolution)?.title} className="h-5 px-1 text-[10px] rounded-l bg-neutral-800 border border-neutral-700 text-neutral-300 outline-none disabled:opacity-50" > - {RESOLUTION_OPTIONS.map((r) => ( - ))} @@ -185,7 +225,9 @@ function FormatExportButton({ )} - +