mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 17:36:05 -05:00
fix text input not being clickable
This commit is contained in:
parent
e3e72cabf3
commit
912b766ecb
1 changed files with 1 additions and 8 deletions
|
@ -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 });
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue