diff --git a/src/components/Match/VisionMap.jsx b/src/components/Match/VisionMap.jsx index ddd4aab804..1bad6338f6 100644 --- a/src/components/Match/VisionMap.jsx +++ b/src/components/Match/VisionMap.jsx @@ -5,6 +5,7 @@ import { extractTransitionClasses, } from 'utility'; import Measure from 'react-measure'; +import strings from 'lang'; import styles from './Match.css'; // with the actual game size, the width parameters is optional @@ -20,23 +21,27 @@ const style = (width, iconSize, ward) => { const WardLogPin = ({ width, iconSize, log }) => { const stroke = log.entered.player_slot < 5 ? styles.green : styles.red; const fill = log.type === 'observer' ? styles.yelor : styles.blue; + + const strokeWidth = log.type === 'observer' ? '2.5' : '2'; + const wardSize = log.type === 'observer' ? iconSize * (1600 / 850) : iconSize; + return ( - Observer + {log.type === 'observer' ? strings.th_ward_observer : strings.th_ward_sentry} diff --git a/src/components/Match/matchPages.jsx b/src/components/Match/matchPages.jsx index 1ac0a71cfa..4c2ac091ea 100644 --- a/src/components/Match/matchPages.jsx +++ b/src/components/Match/matchPages.jsx @@ -147,10 +147,7 @@ const matchPages = [Overview, { name: strings.tab_vision, key: 'vision', parsed: true, - content: match => (
- - -
), + content: match => , }, { name: strings.tab_actions, key: 'actions',