Skip to content

Commit 35586ba

Browse files
committed
changes
1 parent acf808a commit 35586ba

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/layers/GYScreenshotPopup.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ class GYScreenshotPopup : public geode::Popup<int const&> {
3636
m_mainLayer->setContentSize({ winSize.width * 0.6f, winSize.height * 0.7f });
3737
m_mainLayer->updateLayout();
3838

39-
// Construct URL for the raw GitHub image
4039
std::string URL = fmt::format("https://raw.githubusercontent.com/OmgRod/Geodify/master/previews/{}Preview.png", layerName);
4140

4241
auto req = web::WebRequest();
@@ -85,7 +84,6 @@ class GYScreenshotPopup : public geode::Popup<int const&> {
8584
}
8685

8786
void onDownloadFail() {
88-
// Handle failure if the image could not be downloaded
8987
CCSprite* fallbackSprite = CCSprite::create("noPreview.png"_spr);
9088
m_mainLayer->addChildAtPosition(fallbackSprite, Anchor::Center);
9189
}

0 commit comments

Comments
 (0)