mirror of https://github.com/axmolengine/axmol.git
more useless code
This commit is contained in:
parent
f59c969216
commit
8f76080b15
|
@ -646,7 +646,7 @@ void ScrollView::onTouchMoved(Touch* touch, Event* event)
|
|||
{
|
||||
if (_touches.size() == 1 && _dragging)
|
||||
{ // scrolling
|
||||
Point moveDistance, newPoint, maxInset, minInset;
|
||||
Point moveDistance, newPoint;
|
||||
Rect frame;
|
||||
float newX, newY;
|
||||
|
||||
|
@ -697,9 +697,6 @@ void ScrollView::onTouchMoved(Touch* touch, Event* event)
|
|||
break;
|
||||
}
|
||||
|
||||
maxInset = _maxInset;
|
||||
minInset = _minInset;
|
||||
|
||||
newX = _container->getPosition().x + moveDistance.x;
|
||||
newY = _container->getPosition().y + moveDistance.y;
|
||||
|
||||
|
|
Loading…
Reference in New Issue