refactor node stateClasses and stylelist calculation
[potlatch2.git] / net / systemeD / potlatch2 / controller / DragPOINode.as
index e8cc8f96d4f01fb6cd7b89ff9a7a4ca88889a00b..0f5f1227f39284224c8f95d70f711fa58762ca99 100644 (file)
@@ -54,11 +54,11 @@ package net.systemeD.potlatch2.controller {
                }
 
         override public function enterState():void {
-            controller.map.setHighlight(selectedNode, { highlight: true } );
+            controller.map.setHighlight(selectedNode, { selected: true } );
                        Globals.vars.root.addDebug("**** -> "+this);
         }
         override public function exitState(newState:ControllerState):void {
-            controller.map.setHighlight(selectedNode, { highlight: false } );
+            controller.map.setHighlight(selectedNode, { selected: false } );
                        Globals.vars.root.addDebug("**** <- "+this);
         }
         override public function toString():String {