Reduce canvas size back
This commit is contained in:
parent
6e2a5ba747
commit
97d1536adb
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "minesweeper",
|
"name": "minesweeper",
|
||||||
"version": "0.85.1",
|
"version": "0.85.2",
|
||||||
"description": "Just Minesweeper!",
|
"description": "Just Minesweeper!",
|
||||||
"author": "Florine W. Dekker",
|
"author": "Florine W. Dekker",
|
||||||
"browser": "dist/bundle.js",
|
"browser": "dist/bundle.js",
|
||||||
|
|
|
@ -13,7 +13,7 @@ export class Display {
|
||||||
private readonly hintColor: string = "rgba(0, 0, 255, 0.3)";
|
private readonly hintColor: string = "rgba(0, 0, 255, 0.3)";
|
||||||
private readonly safeColor: string = "rgba(0, 255, 0, 0.5)";
|
private readonly safeColor: string = "rgba(0, 255, 0, 0.5)";
|
||||||
|
|
||||||
private readonly scale: number = 60;
|
private readonly scale: number = 30;
|
||||||
|
|
||||||
private readonly canvas: HTMLCanvasElement;
|
private readonly canvas: HTMLCanvasElement;
|
||||||
private readonly preferences: Preferences;
|
private readonly preferences: Preferences;
|
||||||
|
|
Loading…
Reference in New Issue