mirror of https://github.com/axmolengine/axmol.git
fix scrollview crashes on win32 because of variable returned without initialization
This commit is contained in:
parent
0afe015259
commit
99b127ba5d
|
@ -894,7 +894,7 @@ bool ScrollView::scrollChildrenVertical(float touchOffsetX, float touchOffsetY)
|
|||
|
||||
bool ScrollView::scrollChildrenHorizontal(float touchOffsetX, float touchOffestY)
|
||||
{
|
||||
bool scrollenabled;
|
||||
bool scrollenabled = false;
|
||||
float realOffset = touchOffsetX;
|
||||
if (_bounceEnabled)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue