From 2084117bd8ef70346c58a00a5ee8cb56da4d1a1b Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Sat, 22 Mar 2014 03:43:52 +0000 Subject: [PATCH] with canvas based L.Paths, it's inefficient to draw too frequently, so reduce the debug tile refresh rate even further --- code/map_data_debug.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/map_data_debug.js b/code/map_data_debug.js index 88f70494..0aa7da6f 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.5; + this.CLEAR_CHECK_TIME = L.Path.CANVAS ? 2.0 : 0.5; this.FADE_TIME = 2.0; this.debugTileLayer = L.layerGroup();