slow animated fade speed, and add new tile status for render queue code

This commit is contained in:
Jon Atkins 2014-03-21 04:42:48 +00:00
parent a03014a988
commit 0a9cc966cd

View File

@ -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) {