From cf5116d75ceccdbd9d5bfbeb1d922d0ab91d0a02 Mon Sep 17 00:00:00 2001 From: hastarin Date: Mon, 13 May 2013 03:10:46 +1000 Subject: [PATCH] Reduced render limit on mobile. --- code/smartphone.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/smartphone.js b/code/smartphone.js index 562c7b38..8fe30061 100644 --- a/code/smartphone.js +++ b/code/smartphone.js @@ -95,4 +95,10 @@ window.runOnSmartphonesAfterBoot = function() { }); }); }); + + // Force lower render limits for mobile + window.VIEWPORT_PAD_RATIO = 0.1; + window.MAX_DRAWN_PORTALS = 500; + window.MAX_DRAWN_LINKS = 200; + window.MAX_DRAWN_FIELDS = 100; }