Skip to content

Commit

Permalink
mac os fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyMC9730 authored Nov 27, 2024
1 parent 274b627 commit 403ba12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ProviderPopup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1502,7 +1502,7 @@ void ProviderPopup::removeThumbnailForCell(LevelCell *cell) {
continue;
}

auto as_clip = typeinfo_cast<CCClippingNode *>(obj);
auto as_clip = typeinfo_cast<CCNode *>(obj);
if (as_clip != nullptr) {
as_clip->setPosition({1000.f, 1000.f});

Expand Down Expand Up @@ -1556,4 +1556,4 @@ void ProviderPopup::onProviderInfoBtn(CCObject *sender) {
std::string name = popup->_selectedProvider->getName();

FLAlertLayer::create(name.c_str(), description, "OK")->show();
}
}

0 comments on commit 403ba12

Please sign in to comment.