- improved grid painting and included resizing

This commit is contained in:
2025-11-24 12:19:51 +00:00
parent c5fe6754c3
commit b084c3016d
7 changed files with 70 additions and 20 deletions

View File

@@ -6,6 +6,7 @@ export const useCreateVideoSnapshot = () => {
const { videoQuery } = useGetVideoFeed();
const snapShot = videoQuery?.data;
const isloading = videoQuery.isPending;
useEffect(() => {
async function createBitmap() {
@@ -22,5 +23,5 @@ export const useCreateVideoSnapshot = () => {
createBitmap();
}, [snapShot]);
return { latestBitmapRef };
return { latestBitmapRef, isloading };
};