Skip to content

Commit

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

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

continue;
}
#endif
}

// children->release();
Expand Down

0 comments on commit 2dcfb3d

Please sign in to comment.