From 0118cbd3293b6d9da865d3d520d475cc07b8f93e Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Tue, 11 Sep 2012 17:25:00 +0200 Subject: [PATCH] add a note on where the slow drawing on tablet sends slow script warnings --- js/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/map.js b/js/map.js index 5709a56..5cd194e 100644 --- a/js/map.js +++ b/js/map.js @@ -262,7 +262,7 @@ function drawMap() { // Go through all the tiles we want. // If any of them aren't loaded or being loaded, do so. for (var x = Math.floor(xMin / size); x < Math.ceil(xMax / size); x++) { - for (var y = Math.floor(yMin / size); y < Math.ceil(yMax / size); y++) { + for (var y = Math.floor(yMin / size); y < Math.ceil(yMax / size); y++) { // slow script warnings on the tablet appear here! var xoff = (x * size - xMin) / gZoomFactor; var yoff = (y * size - yMin) / gZoomFactor; var tileKey = encodeIndex(x, y, gPos.z); -- 2.43.0