File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments