Fixed compile errors

This commit is contained in:
WenhaiLin 2015-04-09 12:49:32 +08:00
parent 565a79022b
commit 57508b3c12
1 changed files with 2 additions and 2 deletions

View File

@ -98,8 +98,8 @@ public:
auto mouseEvent = static_cast<EventMouse*>(event); auto mouseEvent = static_cast<EventMouse*>(event);
float moveY = mouseEvent->getScrollY() * 20; float moveY = mouseEvent->getScrollY() * 20;
auto& minOffset = this->minContainerOffset(); auto minOffset = this->minContainerOffset();
auto& maxOffset = this->maxContainerOffset(); auto maxOffset = this->maxContainerOffset();
auto offset = this->getContentOffset(); auto offset = this->getContentOffset();
offset.y += moveY; offset.y += moveY;