Browse Source

fixed lazy update of scrolls

Andrew Karpushin 11 years ago
parent
commit
ad33d5f60e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      gameplay/src/Container.cpp

+ 1 - 0
gameplay/src/Container.cpp

@@ -1292,6 +1292,7 @@ bool Container::touchEventScroll(Touch::TouchEvent evt, int x, int y, unsigned i
             _scrollingLastTime = gameTime;
             setDirty(DIRTY_BOUNDS);
             setChildrenDirty(DIRTY_BOUNDS, true);
+            updateScroll();
             return false;
         }
         break;