From 459da3f49d5b2ff276d8a139984a28432ef1dbe2 Mon Sep 17 00:00:00 2001 From: Daniel Brooks Date: Mon, 1 Aug 2016 15:05:20 -0700 Subject: [PATCH] resize the canvas just before starting SAE this duplication won't survive the refactoring that I have in mind --- loader.js | 1 + 1 file changed, 1 insertion(+) diff --git a/loader.js b/loader.js index ce10942..29a92a5 100644 --- a/loader.js +++ b/loader.js @@ -920,6 +920,7 @@ var Module = null; .then(function () { if ("runner" in game_data) { var runner = new game_data.runner(canvas, game_data); + resizeCanvas(canvas, 1, game_data.nativeResolution, game_data.aspectRatio); runner.start(); splash.finished_loading = true; splash.hide();