First cut at styling TIGER data via an option. Needs lots of propagation of uid and...
[potlatch2.git] / net / systemeD / halcyon / NodeUI.as
index 96e980d50c1437d68461e2afbd2891ace5767a19..eb9e608bf8c380f1b97363f47475ec191a4a62fb 100644 (file)
@@ -147,13 +147,12 @@ package net.systemeD.halcyon {
                }
 
                private function addHitSprite(w:uint):void {
-            var hitzone:Sprite = new Sprite();
+            hitzone = new Sprite();
             hitzone.graphics.lineStyle(4, 0x000000, 1, false, "normal", CapsStyle.ROUND, JointStyle.ROUND);
                        hitzone.graphics.beginFill(0);
                        hitzone.graphics.drawRect(0,0,w,w);
-            addToLayer(hitzone, NODECLICKSPRITE);
-            hitzone.visible = false;
-                       setListenSprite(NODECLICKSPRITE, hitzone);
+                       hitzone.visible = false;
+                       setListenSprite();
                }
 
                private function loadedIcon(event:Event):void {