File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ void Zoom::doZoom(float y){
29
29
CCNode* thumbnailPopup = CCScene::get ()->getChildByID (" ThumbnailPopup" );
30
30
if (!thumbnailPopup) return ;
31
31
32
- CCLayer* popupLayer = getChildOfType <CCLayer>(thumbnailPopup, 0 );
32
+ CCLayer* popupLayer = thumbnailPopup-> getChildByType <CCLayer>(0 );
33
33
if (!popupLayer) return ;
34
34
35
35
CCNode* thumbnail = thumbnailPopup->getChildByIDRecursive (" thumbnail" );
@@ -82,7 +82,7 @@ void Zoom::update(float dt){
82
82
CCNode* thumbnailPopup = CCScene::get ()->getChildByID (" ThumbnailPopup" );
83
83
if (!thumbnailPopup) return ;
84
84
85
- CCLayer* popupLayer = getChildOfType <CCLayer>(thumbnailPopup, 0 );
85
+ CCLayer* popupLayer = thumbnailPopup-> getChildByType <CCLayer>(0 );
86
86
if (!popupLayer) return ;
87
87
88
88
CCNode* thumbnail = thumbnailPopup->getChildByIDRecursive (" thumbnail" );
@@ -145,4 +145,4 @@ class $modify(CCEGLView) {
145
145
}
146
146
};
147
147
148
- #endif
148
+ #endif
You can’t perform that action at this time.
0 commit comments