Browse Source

scene hidden called AFTER finish callback

dmuratshin 9 years ago
parent
commit
5e282f76da
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/flow/flow.cpp

+ 3 - 2
src/flow/flow.cpp

@@ -174,8 +174,6 @@ namespace oxygine
             if (!_back || !current->_dialog)
                 next->postShowing();
 
-            if (_back)
-                next->sceneHidden(current);
 
 
             getStage()->removeEventListener(TouchEvent::CLICK, CLOSURE(this, &Flow::blockedTouch));
@@ -192,6 +190,9 @@ namespace oxygine
                 }
             }
 
+            if (_back)
+                next->sceneHidden(current);
+
 
             if (current->_remove)
             {