mirror of https://github.com/axmolengine/axmol.git
Fixed compile errors
This commit is contained in:
parent
565a79022b
commit
57508b3c12
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue