From 12f44f043b55d157c7f6e04939d32d26279baa9a Mon Sep 17 00:00:00 2001 From: Explodingbill Date: Wed, 7 Feb 2024 20:49:24 +1100 Subject: [PATCH] h --- src/Replay/Replay.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Replay/Replay.cpp b/src/Replay/Replay.cpp index 9041999..0a7e22d 100644 --- a/src/Replay/Replay.cpp +++ b/src/Replay/Replay.cpp @@ -46,12 +46,16 @@ class $modify (PauseLayer) { PauseLayer::customSetup(); + return; + auto s = CCSprite::create("replay.png"_spr); s->setScale(CCDirector::get()->getContentScaleFactor() * 0.5f); auto btn = CCMenuItemSpriteExtra::create(s, this, nullptr); auto m = CCMenu::create(); + m->setContentSize(ccp(0, 0)); + m->setScale(0.25f); m->addChild(btn); this->addChild(m); }