mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: scale up small exports with fancy background
This commit is contained in:
parent
d27856a967
commit
4c8cf9c91c
6 changed files with 64 additions and 14 deletions
|
@ -4,6 +4,7 @@ import {
|
|||
CURSOR_TYPE,
|
||||
DEFAULT_VERSION,
|
||||
EVENT,
|
||||
EXPORT_SCALES,
|
||||
FONT_FAMILY,
|
||||
isDarwin,
|
||||
MIME_TYPES,
|
||||
|
@ -1002,3 +1003,7 @@ export const isRenderThrottlingEnabled = (() => {
|
|||
return false;
|
||||
};
|
||||
})();
|
||||
|
||||
export const defaultExportScale = EXPORT_SCALES.includes(devicePixelRatio)
|
||||
? devicePixelRatio
|
||||
: 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue