refactor: simplify canvas preset names for clarity
This commit is contained in:
@ -19,10 +19,10 @@ interface EditorState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const DEFAULT_CANVAS_PRESETS: CanvasPreset[] = [
|
const DEFAULT_CANVAS_PRESETS: CanvasPreset[] = [
|
||||||
{ name: "16:9 HD", width: 1920, height: 1080 },
|
{ name: "16:9", width: 1920, height: 1080 },
|
||||||
{ name: "9:16 Mobile", width: 1080, height: 1920 },
|
{ name: "9:16", width: 1080, height: 1920 },
|
||||||
{ name: "1:1 Square", width: 1080, height: 1080 },
|
{ name: "1:1", width: 1080, height: 1080 },
|
||||||
{ name: "4:3 Standard", width: 1440, height: 1080 },
|
{ name: "4:3", width: 1440, height: 1080 },
|
||||||
];
|
];
|
||||||
|
|
||||||
// Helper function to find the best matching canvas preset for an aspect ratio
|
// Helper function to find the best matching canvas preset for an aspect ratio
|
||||||
|
Reference in New Issue
Block a user