From a179eb2a26f1eb34d35f533746bbcda24c3b2991 Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Wed, 17 Oct 2012 11:10:14 -0400 Subject: [PATCH] Use an object with keys to keep track of tiles. instead of a multidimensional array. this simplifies code and boosts performance upon dragging. --- index.html | 32 +++++++++---------- js/iD/controller/edit/NoSelection.js | 12 +++---- js/iD/controller/shape/DrawWay.js | 24 +++++++------- js/iD/controller/shape/NoSelection.js | 5 ++- js/iD/renderer/EntityUI.js | 6 ++-- js/iD/renderer/Map.js | 45 +++++++++++++++------------ js/iD/renderer/NodeUI.js | 5 ++- potlatch.css | 7 ++--- 8 files changed, 67 insertions(+), 69 deletions(-) diff --git a/index.html b/index.html index 8a03607be..08f735c7a 100755 --- a/index.html +++ b/index.html @@ -8,9 +8,6 @@ - - -