Remove small font sizing

This commit is contained in:
Benjamin 2020-12-18 22:53:55 +01:00
parent 648c618fe0
commit a744948bd7
No known key found for this signature in database
GPG key ID: 99C8C88768F0F905

View file

@ -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;