From c3cf23da0c29d33d6e149c23d125cc0bb61ddfe8 Mon Sep 17 00:00:00 2001 From: maxime Date: Sat, 24 Feb 2024 14:53:03 +0100 Subject: [PATCH 1/7] add phantoms for screen actions --- src/App.tsx | 2 +- src/components/arrows/BendableArrow.tsx | 4 +- src/components/editor/BasketCourt.tsx | 43 ++++++----- src/components/editor/CourtBall.tsx | 15 ++-- src/components/editor/CourtPlayer.tsx | 32 +++++---- src/editor/ActionsDomains.ts | 95 ++++++++++++++++--------- src/editor/PlayerDomains.ts | 85 +++++++++++++++++----- src/editor/TacticContentDomains.ts | 84 +++++++++++++--------- src/model/tactic/Action.ts | 3 +- src/model/tactic/CourtObjects.ts | 3 +- src/model/tactic/Player.ts | 38 ++++++---- src/model/tactic/Tactic.ts | 11 +-- src/pages/Editor.tsx | 7 +- src/style/steps_tree.css | 87 ---------------------- 14 files changed, 271 insertions(+), 238 deletions(-) delete mode 100644 src/style/steps_tree.css diff --git a/src/App.tsx b/src/App.tsx index c277daa..29ab83b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -17,7 +17,7 @@ const Editor = lazy(() => import("./pages/Editor.tsx")) export default function App() { function suspense(node: ReactNode) { return ( - Loading, please wait...suspense(
Aucune tactique créée !