X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Ftracker%2FItems.js;h=e991d0bcc6d2aee11070e4a972d21a489a8a807a;hb=HEAD;hp=9ec71e00223f6dbc5d670c357009144b1f32b78f;hpb=1a3d040147c19d24b8d02ec8e594eb06b8efc1ff;p=alttp.git diff --git a/resources/js/components/tracker/Items.js b/resources/js/components/tracker/Items.js index 9ec71e0..e991d0b 100644 --- a/resources/js/components/tracker/Items.js +++ b/resources/js/components/tracker/Items.js @@ -4,46 +4,60 @@ import ToggleIcon from './ToggleIcon'; import { BOTTLE_CONTENTS } from '../../helpers/tracker'; import { useTracker } from '../../hooks/tracker'; -const transform = (x, y, s) => `translate(${x} ${y}) scale(${s || 0.85})`; +const transform = (x, y, s) => `translate(${x * 0.2} ${y * 0.2}) scale(${(s || 0.85) * 0.2})`; const Items = () => { const { state } = useTracker(); - return { - e.preventDefault(); - e.stopPropagation(); - }} - > - - - - - - - - - - - - - - - - - - - - - - - - + return <> + + + + + + + + {state['mm-medallion'] === 'bombos' ? @@ -71,122 +85,157 @@ const Items = () => { TR : null} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ; + + + + + + + + + + + + + + + + + + + + + + + + + + ; }; export default Items;