feat: scale up small exports with fancy background

This commit is contained in:
Arnošt Pleskot
2023-08-15 23:41:52 +02:00
parent d27856a967
commit 4c8cf9c91c
6 changed files with 64 additions and 14 deletions
+1 -6
View File
@@ -5,16 +5,11 @@ import {
DEFAULT_FONT_FAMILY,
DEFAULT_FONT_SIZE,
DEFAULT_TEXT_ALIGN,
EXPORT_SCALES,
THEME,
} from "./constants";
import { t } from "./i18n";
import { AppState, NormalizedZoomValue } from "./types";
import { getDateTime } from "./utils";
const defaultExportScale = EXPORT_SCALES.includes(devicePixelRatio)
? devicePixelRatio
: 1;
import { getDateTime, defaultExportScale } from "./utils";
export const getDefaultAppState = (): Omit<
AppState,