Skip to content

Commit

Permalink
default scale is 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneT2000 committed Jun 30, 2021
1 parent 97ed992 commit 6c549e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/Game.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ export const GameComponent = () => {
let scale =
searchlist.length > 0 && searchlist[0].split('=')[0] === 'scale'
? parseFloat(searchlist[0].split('=')[1])
: 1;
: 1.5;
if (isNaN(scale)) {
scale = 1;
scale = 1.5;
}
let zoom = 1 / scale;
let scaleSize = scale / 10;
Expand Down
2 changes: 1 addition & 1 deletion src/components/configs.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "0.0.17"
"version": "1.0.0"
}

0 comments on commit 6c549e8

Please sign in to comment.