]> git.openstreetmap.org Git - potlatch2.git/blobdiff - net/systemeD/halcyon/NodeUI.as
Find and fix issues with fill colours being black and use isNaN comparisons
[potlatch2.git] / net / systemeD / halcyon / NodeUI.as
index 8621f741dc1933c0d393c652a874bf8c38feaf1d..96e980d50c1437d68461e2afbd2891ace5767a19 100644 (file)
@@ -133,7 +133,7 @@ package net.systemeD.halcyon {
                        // get colours
                        if (styleList.shapeStyles[sublayer]) {
                                var s:ShapeStyle=styleList.shapeStyles[sublayer];
-                               if (s.color) { icon.graphics.beginFill(s.color); 
+                               if (!isNaN(s.color)) { icon.graphics.beginFill(s.color);
                                        }
                                if (s.casing_width || !isNaN(s.casing_color)) {
                                        icon.graphics.lineStyle(s.casing_width ? s.casing_width : 1,