Remove small font sizing
This commit is contained in:
parent
648c618fe0
commit
a744948bd7
|
|
@ -10,7 +10,6 @@ const lightColor = "#ffffff";
|
||||||
const fontSizeFallbackPx = 300;
|
const fontSizeFallbackPx = 300;
|
||||||
const intervalMillisec = 200;
|
const intervalMillisec = 200;
|
||||||
const bigFontSizeFactor = 1.2;
|
const bigFontSizeFactor = 1.2;
|
||||||
const smallFontSizeFactor = 1.05;
|
|
||||||
|
|
||||||
let light = false;
|
let light = false;
|
||||||
let help = false;
|
let help = false;
|
||||||
|
|
@ -72,14 +71,6 @@ function keyPress(event) {
|
||||||
fontSizePx = fontSizeFallbackPx;
|
fontSizePx = fontSizeFallbackPx;
|
||||||
setSize();
|
setSize();
|
||||||
break;
|
break;
|
||||||
case "*":
|
|
||||||
fontSizePx *= smallFontSizeFactor;
|
|
||||||
setSize();
|
|
||||||
break;
|
|
||||||
case "_":
|
|
||||||
fontSizePx /= smallFontSizeFactor;
|
|
||||||
setSize();
|
|
||||||
break;
|
|
||||||
case "h":
|
case "h":
|
||||||
toggleHelp();
|
toggleHelp();
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue