Merge pull request #270 from hastarin/mobileRenderLimit

Reduced render limit on mobile.
This commit is contained in:
Jon Atkins 2013-05-12 14:58:57 -07:00
commit c713caa36b

View File

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