mirror of
https://github.com/excalidraw/excalidraw.git
synced 2026-12-05 18:55:28 +03:00
* feat(editor): offer the display's pixel scale and show output size in image export - add the display's pixel ratio (e.g. 1.5×) as an export scale, sorted among 1×/2×/3×, and default to it - mark it with a monitor icon and a "your display" caption with an explanatory tooltip - show the exported image's pixel dimensions under the preview - Tooltip: delay can be a number of ms (export dialog uses 150 ms) * fix(editor): default export scale from the editor's window, measure export size once - default exportScale follows the editor's own window (pop-out on another display), not the global one - dialog measures the export content once and only multiplies on scale change (getExportContentSize + getExportSize) * perf(editor): don't re-render the export preview on scale, embed or name changes The preview always renders at scale 1 without an embedded scene or name, so those settings only re-ran a full-scene export.