You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by bi...@apache.org on 2014/11/22 02:01:08 UTC

[25/48] git commit: [flex-sdk] [refs/heads/iso7skins] - Revert "Increment and counterpart don't work with FlexJS '_get()' and '_set()'"

Revert "Increment and counterpart don't work with FlexJS '_get()' and '_set()'"

This reverts commit af2dc0d8f6712c0003264cea966ef8afd159878c.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/dc8ead62
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/dc8ead62
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/dc8ead62

Branch: refs/heads/iso7skins
Commit: dc8ead62f228f42feba36c1071740200e11fab57
Parents: 7a968cc
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Mon Nov 3 20:41:26 2014 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Mon Nov 3 20:41:26 2014 +0100

----------------------------------------------------------------------
 .../projects/framework/src/mx/managers/SystemManager.as   | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/dc8ead62/frameworks/projects/framework/src/mx/managers/SystemManager.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/managers/SystemManager.as b/frameworks/projects/framework/src/mx/managers/SystemManager.as
index 9eb9bea..61d41ce 100644
--- a/frameworks/projects/framework/src/mx/managers/SystemManager.as
+++ b/frameworks/projects/framework/src/mx/managers/SystemManager.as
@@ -1752,7 +1752,7 @@ public class SystemManager extends MovieClip
     {
         // Adjust the partition indexes before the 
         // "added" event is dispatched.
-        noTopMostIndex = noTopMostIndex + 1;
+        noTopMostIndex++;
 
         var oldParent:DisplayObjectContainer = child.parent;
         if (oldParent)
@@ -1790,7 +1790,7 @@ public class SystemManager extends MovieClip
     {
         // Adjust the partition indexes
         // before the "removed" event is dispatched.
-        noTopMostIndex = noTopMostIndex - 1;
+        noTopMostIndex--;
 
         return rawChildren_removeChild(child);
     }
@@ -1802,7 +1802,7 @@ public class SystemManager extends MovieClip
     {
         // Adjust the partition indexes
         // before the "removed" event is dispatched.
-        noTopMostIndex = noTopMostIndex - 1;
+        noTopMostIndex--;
 
         return rawChildren_removeChildAt(applicationIndex + index);
     }
@@ -2658,7 +2658,7 @@ public class SystemManager extends MovieClip
         mouseCatcher.name = "mouseCatcher";
         // Must use addChildAt because a creationComplete handler can create a
         // dialog and insert it at 0.
-        noTopMostIndex = noTopMostIndex + 1;
+        noTopMostIndex++;
         super.addChildAt(mouseCatcher, 0);  
         resizeMouseCatcher();
         if (!topLevel)
@@ -2668,7 +2668,7 @@ public class SystemManager extends MovieClip
         }
 
         // Add the application as child 1.
-        noTopMostIndex = noTopMostIndex + 1;
+        noTopMostIndex++;
         super.addChildAt(DisplayObject(app), 1);
 
         CONFIG::performanceInstrumentation