refactor: simplify canvas preset names for clarity

This commit is contained in:
Maze Winther
2025-07-01 16:02:32 +02:00
parent fb487681b6
commit d623ba6b4b

View File

@ -19,10 +19,10 @@ interface EditorState {
}
const DEFAULT_CANVAS_PRESETS: CanvasPreset[] = [
{ name: "16:9 HD", width: 1920, height: 1080 },
{ name: "9:16 Mobile", width: 1080, height: 1920 },
{ name: "1:1 Square", width: 1080, height: 1080 },
{ name: "4:3 Standard", width: 1440, height: 1080 },
{ name: "16:9", width: 1920, height: 1080 },
{ name: "9:16", width: 1080, height: 1920 },
{ name: "1:1", width: 1080, height: 1080 },
{ name: "4:3", width: 1440, height: 1080 },
];
// Helper function to find the best matching canvas preset for an aspect ratio