Fix : switch to state based shuffle animation
This commit is contained in:
+8
-8
@@ -4,12 +4,12 @@ export function delay(delay: number) {
|
||||
});
|
||||
}
|
||||
|
||||
export type ContainerHandler = {
|
||||
populateContainer: () => void;
|
||||
shuffleContainer: () => void;
|
||||
getCardsPosition: (cards: string) => any;
|
||||
startAnimation: () => void;
|
||||
endAnimation: () => void;
|
||||
};
|
||||
// export type ContainerHandler = {
|
||||
// populateContainer: () => void;
|
||||
// shuffleContainer: () => void;
|
||||
// getCardsPosition: (cards: string) => any;
|
||||
// startAnimation: () => void;
|
||||
// endAnimation: () => void;
|
||||
// };
|
||||
|
||||
export const containerEvents = reactive(new Map<string, ContainerHandler>());
|
||||
// export const containerEvents = reactive(new Map<string, ContainerHandler>());
|
||||
|
||||
Reference in New Issue
Block a user