Skip to content

Commit c062cf6

Browse files
fix: cap movemap at 40% (#187) (#188)
1 parent e9eadab commit c062cf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Analysis/MoveMap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ export const MoveMap: React.FC<Props> = ({
330330
tickMargin={0}
331331
tickLine={false}
332332
tickFormatter={(value) => `${value}%`}
333-
domain={([dataMin, dataMax]) => [0, dataMax > 60 ? 100 : 60]}
333+
domain={([dataMin, dataMax]) => [0, dataMax > 40 ? 100 : 40]}
334334
>
335335
<Label
336336
value="← Unlikely"

0 commit comments

Comments
 (0)