fix tab selection issue, and remove annoying flash of drag-and-drop panel when going...
[potlatch2.git] / net / systemeD / potlatch2 / EditController.as
index be7aa43..099697c 100644 (file)
@@ -103,7 +103,7 @@ package net.systemeD.potlatch2 {
                 return;
                 
             if ( state != null )
-                state.exitState();
+                state.exitState(newState);
             newState.setController(this);
             newState.setPreviousState(state);
             state = newState;
@@ -112,7 +112,7 @@ package net.systemeD.potlatch2 {
 
                public function setCursor(cursor:Class):void {
                        CursorManager.removeAllCursors();
-                       if (cursor) { CursorManager.setCursor(cursor); }
+                       if (cursor) { CursorManager.setCursor(cursor,2,-4,0); }
                }
 
     }