Correctly redraw junction nodes when removed from a way
authorRichard Fairhurst <richard@systemeD.net>
Sat, 2 Apr 2011 17:28:44 +0000 (18:28 +0100)
committerRichard Fairhurst <richard@systemeD.net>
Sat, 2 Apr 2011 17:28:44 +0000 (18:28 +0100)
net/systemeD/halcyon/NodeUI.as

index 4d842438b4f890ad39b63f7bbce709ff3302b9d6..204c14f8ab2f2647c17e117d76c9bd5ea405910a 100644 (file)
@@ -70,6 +70,7 @@ package net.systemeD.halcyon {
 
                        var tags:Object = entity.getTagsCopy();
                        setStateClass('poi', !entity.hasParentWays);
+                       setStateClass('junction', entity.numParentWays>1);
             setStateClass('hasTags', entity.hasInterestingTags());
             setStateClass('dupe', Node(entity).isDupe());
                        tags=applyStateClasses(tags);