From 912b766ecbd229dfd76701674714f710fe5de70f Mon Sep 17 00:00:00 2001 From: HJfod <60038575+HJfod@users.noreply.github.com> Date: Sun, 30 Jul 2023 22:21:26 +0300 Subject: [PATCH] fix text input not being clickable --- loader/src/ids/CustomizeObjectLayer.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/loader/src/ids/CustomizeObjectLayer.cpp b/loader/src/ids/CustomizeObjectLayer.cpp index fce651be..279b2ac8 100644 --- a/loader/src/ids/CustomizeObjectLayer.cpp +++ b/loader/src/ids/CustomizeObjectLayer.cpp @@ -253,18 +253,11 @@ $register_ids(CustomizeObjectLayer) { m_mainLayer, "select-channel-menu", nullptr, - m_mainLayer->getChildByID("channel-input-bg"), - m_mainLayer->getChildByID("channel-input"), m_buttonMenu->getChildByID("select-channel-up-button"), m_buttonMenu->getChildByID("select-channel-down-button") ); + selectChannelMenu->setPosition(m_customColorInputBG->getPosition()); selectChannelMenu->setContentSize({ 60.f, 140.f }); - if (auto bg = selectChannelMenu->getChildByID("channel-input-bg")) { - bg->setPosition({ 30.f, 70.f }); - } - if (auto input = selectChannelMenu->getChildByID("channel-input")) { - input->setPosition({ 30.f, 70.f }); - } if (auto btn = selectChannelMenu->getChildByID("select-channel-up-button")) { btn->setPosition({ 30.f, 110.f }); }