summaryrefslogtreecommitdiff
path: root/map.js
diff options
context:
space:
mode:
authorChristian Pointner <equinox@ffgraz.net>2008-12-07 20:13:50 +0000
committerChristian Pointner <equinox@ffgraz.net>2008-12-07 20:13:50 +0000
commit54b20b97f4ba7441c850b67009a3bda5174a089c (patch)
tree022d7ced1ad427a1beb6245cb20f0ca86a190e01 /map.js
parent64119ff0d505c374441da5e74e5f0256f5206428 (diff)
some cosmetic changes
Diffstat (limited to 'map.js')
-rw-r--r--map.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/map.js b/map.js
index f8f73b9..0c7c6f5 100644
--- a/map.js
+++ b/map.js
@@ -244,15 +244,16 @@ function makeColor(value) {
case 3: return '#ff9900';
case 4: return '#ffcc00';
case 5: return '#cccc33';
- default: return '#000000'
+ default: return '#666666'
}
}
function makeWeight(value) {
switch(value) {
- case -1: return 1;
- case 0: return 3;
+ case -1: return 2;
+ case 0: return 1;
case 1: return 3;
+ case 2: return 2;
case 3: return 1;
case 4: return 1;
case 5: return 1;