slight refactoring of controller states
[potlatch2.git] / net / systemeD / potlatch2 / controller / DrawWay.as
index b034673f02863a19d0fb2d54ef9dc583115ebb34..5517952892add180c2b9ad4ed5314556a88c19ca 100644 (file)
@@ -27,7 +27,7 @@ package net.systemeD.potlatch2.controller {
                override public function processMouseEvent(event:MouseEvent, entity:Entity):ControllerState {
                        var mouse:Point;
                        var node:Node;
                override public function processMouseEvent(event:MouseEvent, entity:Entity):ControllerState {
                        var mouse:Point;
                        var node:Node;
-                       var focus:Entity = NoSelection.getTopLevelFocusEntity(entity);
+                       var focus:Entity = getTopLevelFocusEntity(entity);
 
                        if ( event.type == MouseEvent.MOUSE_UP ) {
                                if ( entity == null ) {
 
                        if ( event.type == MouseEvent.MOUSE_UP ) {
                                if ( entity == null ) {