mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
chore: cleanup
This commit is contained in:
@@ -1,2 +1,12 @@
|
||||
export const CORNER_RADIUS_MIN = 0;
|
||||
export const CORNER_RADIUS_MAX = 100;
|
||||
|
||||
export interface TextBackground {
|
||||
enabled: boolean;
|
||||
color: string;
|
||||
cornerRadius?: number;
|
||||
paddingX?: number;
|
||||
paddingY?: number;
|
||||
offsetX?: number;
|
||||
offsetY?: number;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { TextBackground } from "@/timeline";
|
||||
import type { TextBackground } from "@/text/background";
|
||||
import { DEFAULTS } from "@/timeline/defaults";
|
||||
import type { TextAlign } from "@/text/primitives";
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { CORNER_RADIUS_MIN } from "@/text/background";
|
||||
import { DEFAULTS } from "@/timeline/defaults";
|
||||
import type { TextBackground, TextElement } from "@/timeline";
|
||||
import type { TextElement } from "@/timeline";
|
||||
import type { TextBackground } from "@/text/background";
|
||||
import { resolveNumberAtTime } from "@/animation/values";
|
||||
import {
|
||||
getTextVisualRect,
|
||||
|
||||
Reference in New Issue
Block a user