more selection fixes
[potlatch2.git] / net / systemeD / halcyon / NodeUI.as
index 59238ea4f9eb6482ddebf0c8fbf078997d9fa5c7..8f57b8e28e39225c296d67219a7084573cc0ea10 100644 (file)
@@ -35,13 +35,12 @@ package net.systemeD.halcyon {
                
                public function redraw(sl:StyleList=null,forceDraw:Boolean=false):Boolean {
                        // *** forcedraw can be removed
-
                        var tags:Object = node.getTagsCopy();
 
                        // special tags
                        if (!node.hasParentWays) { tags[':poi']='yes'; }
             for (var stateKey:String in stateClasses) {
-                tags[":"+stateKey] = stateKey;
+                tags[":"+stateKey] = 'yes';
             }
 
                        if (!sl) { sl=map.ruleset.getStyles(this.node,tags); }