Skip to content

Commit

Permalink
sometimes. (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed May 26, 2024
1 parent 5b4bc9b commit 30cdb41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loader/src/ui/nodes/ScrollLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void ScrollLayer::enableScrollWheel(bool enable) {
}

bool ScrollLayer::ccTouchBegan(CCTouch* touch, CCEvent* event) {
if (this->isVisible()) {
if (nodeIsVisible(this)) {
return CCScrollLayerExt::ccTouchBegan(touch, event);
}
return false;
Expand Down

0 comments on commit 30cdb41

Please sign in to comment.