fix cache

add font propertie to rust text paint
layout improvements
This commit is contained in:
2023-05-28 01:10:53 +02:00
parent b671f9ee47
commit 1baa3ae736
18 changed files with 176 additions and 84 deletions

View File

@@ -7,7 +7,7 @@ interface FontsStore {
const useFontsStore = create<FontsStore>((set) => ({
fonts: [],
setFonts: (fonts) => ({ fonts }),
setFonts: (fonts) => set({ fonts }),
}));
export { useFontsStore };

View File

@@ -7,7 +7,7 @@ interface TimelineStore {
}
const useTimelineStore = create<TimelineStore>((set) => ({
fps: 120,
fps: 30,
size: [1280, 720],
duration: 10.0,
}));