mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-09 12:13:10 -05:00
* Implemented a relatively simple dynamic background sizing calculation for the Map Planner * Moved useWindowsSize() hook usage near the top of Planner() function * Removed some dead space above the background image * Adjustments * Added a *lot* of math to adjust image spawn location based on the background image size & position, which are based on the current window size & position - Moved the background image stuff to its own React Hook, usePlannerBg() * Fix Prettier issue * Added another comment * Fixed typing for the usePlannerBg hook - Also improved comments & some variable names to be cleaner/more consistent Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| swr.ts | ||
| useAnimateListEntry.tsx | ||
| useBaseUrl.ts | ||
| useForceRefresh.tsx | ||
| useIsMounted.ts | ||
| useOnClickOutside.ts | ||
| usePlannerBg.ts | ||
| useSearchParamState.tsx | ||
| useSetTitle.ts | ||
| useTranslation.ts | ||