mirror of https://github.com/axmolengine/axmol.git
[FIX]: make the scrollView delegate methods optional
This commit is contained in:
parent
b25cb5ccf3
commit
27ba8ecd42
|
@ -52,12 +52,12 @@ public:
|
|||
* @js NA
|
||||
* @lua NA
|
||||
*/
|
||||
virtual void scrollViewDidScroll(ScrollView* view) = 0;
|
||||
virtual void scrollViewDidScroll(ScrollView* view) {};
|
||||
/**
|
||||
* @js NA
|
||||
* @lua NA
|
||||
*/
|
||||
virtual void scrollViewDidZoom(ScrollView* view) = 0;
|
||||
virtual void scrollViewDidZoom(ScrollView* view) {};
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue