mirror of https://github.com/axmolengine/axmol.git
Merge pull request #7242 from joshuastray/scrollview_fix
fix scrollview crashes on win32 because of variable returned without ini...
This commit is contained in:
commit
f39fa108bb
|
@ -894,7 +894,7 @@ bool ScrollView::scrollChildrenVertical(float touchOffsetX, float touchOffsetY)
|
||||||
|
|
||||||
bool ScrollView::scrollChildrenHorizontal(float touchOffsetX, float touchOffestY)
|
bool ScrollView::scrollChildrenHorizontal(float touchOffsetX, float touchOffestY)
|
||||||
{
|
{
|
||||||
bool scrollenabled;
|
bool scrollenabled = false;
|
||||||
float realOffset = touchOffsetX;
|
float realOffset = touchOffsetX;
|
||||||
if (_bounceEnabled)
|
if (_bounceEnabled)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue