From 21f8776c15ca7636e8aa3c4116904897b22a8976 Mon Sep 17 00:00:00 2001 From: Cvolton Date: Wed, 3 Jul 2024 13:17:10 +0200 Subject: [PATCH] add missing SecretLayer2 ids --- changelog.md | 4 +++- src/SecretLayer2.cpp | 16 +++++----------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/changelog.md b/changelog.md index 2dc2522..646662e 100644 --- a/changelog.md +++ b/changelog.md @@ -4,9 +4,11 @@ * Added LevelListLayer * Added FriendsProfilePage * Added DemonInfoPopup -* Fixed parental control crash in InfoLayer (while loading comments) +* Added SecretLayer2 (thanks @MuhXd [#98](https://github.com/geode-sdk/NodeIDs/pull/98)) +* Fixed parental control crash in InfoLayer while loading comments (thanks @SpaghettDev [#94](https://github.com/geode-sdk/NodeIDs/pull/94)) * Fixed ProfilePage positioning issues (name running away, info button misaligned after refresh) * Fixed some CustomizeObjectLayer issues (invisible clear text button, misalignments) +* Fixed EditorPauseLayer issues (thanks @Alphalaneous [#95](https://github.com/geode-sdk/NodeIDs/pull/95)) ## v1.12.0 diff --git a/src/SecretLayer2.cpp b/src/SecretLayer2.cpp index cc92cdd..2ee6c35 100644 --- a/src/SecretLayer2.cpp +++ b/src/SecretLayer2.cpp @@ -16,8 +16,10 @@ using namespace geode::node_ids; "textbox-background", "text-box", "menu", - "the-challange-text1", - "the-challange-text2" + "the-challenge-text1", + "the-challenge-text2", + "diamonds-icon", + "diamonds-label" ); auto menu = static_cast(this->getChildByID("menu")); setIDs( @@ -26,15 +28,7 @@ using namespace geode::node_ids; "back-button", "valtkeeper-button", "door-button", - "the-challange-button" - ); - auto textbox = this->getChildByID("text-box"); - setIDs( - textbox, - 0, - "input", - "display-text", - "bar-position" + "the-challenge-button" ); }