diff --git a/js/input.js b/js/input.js index d1ff800..b33e41b 100644 --- a/js/input.js +++ b/js/input.js @@ -41,8 +41,6 @@ function pause(x,o,message) { } } - - keypress.register_combo({ keys: "left", on_keydown: function() { diff --git a/js/main.js b/js/main.js index 7245405..973be7f 100644 --- a/js/main.js +++ b/js/main.js @@ -163,7 +163,13 @@ function init() { MainClock = saveState.clock || new Clock(settings.hexWidth); + scaleCanvas(); + settings.blockHeight = settings.baseBlockHeight * settings.scale; + settings.hexWidth = settings.baseHexWidth * settings.scale; + MainClock.sideLength = settings.hexWidth; + for(var i=0; i