]> git.openstreetmap.org Git - potlatch2.git/blobdiff - net/systemeD/halcyon/styleparser/ShapeStyle.as
Find and fix issues with fill colours being black and use isNaN comparisons
[potlatch2.git] / net / systemeD / halcyon / styleparser / ShapeStyle.as
index fe83ea1e2cd16f36be5016355a5c24ea6319d2bb..72711dd8a0d033df3cc2e93e3dddffe141bb6799 100644 (file)
@@ -30,7 +30,7 @@ package net.systemeD.halcyon.styleparser {
                }
                
                override public function get drawn():Boolean {
-                       return (fill_image || fill_color || width || casing_width);
+                       return (fill_image || !isNaN(fill_color) || width || casing_width);
                }
 
                public function applyStrokeStyle(g:Graphics):void {