From 0a9cc966cd98641a21f17d9384fcfe37933d9a3d Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Fri, 21 Mar 2014 04:42:48 +0000 Subject: [PATCH] slow animated fade speed, and add new tile status for render queue code --- code/map_data_debug.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/map_data_debug.js b/code/map_data_debug.js index 0aff2b37..88f70494 100644 --- a/code/map_data_debug.js +++ b/code/map_data_debug.js @@ -3,7 +3,7 @@ window.RenderDebugTiles = function() { - this.CLEAR_CHECK_TIME = 0.25; + this.CLEAR_CHECK_TIME = 0.5; this.FADE_TIME = 2.0; this.debugTileLayer = L.layerGroup(); @@ -57,6 +57,7 @@ window.RenderDebugTiles.prototype.setState = function(id,state) { case 'request-fail': col='#a00'; fill='#666'; break; case 'tile-fail': col='#f00'; fill='#666'; break; case 'tile-timeout': col='#ff0'; fill='#666'; break; + case 'render-queue': col='#f0f'; fill='#f0f'; break; } this.setColour (id, col, fill); if (clearDelay >= 0) {