Skip to content

Commit b94839b

Browse files
committed
move + button to the beginning
1 parent 2e06760 commit b94839b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/KeybindsLayer.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ void BindableNode::updateMenu(bool updateLayer) {
421421
m_bindMenu->addChild(CCMenuItemSpriteExtra::create(
422422
createBindBtn("+", "bigFont.fnt"),
423423
this, menu_selector(BindableNode::onAddBind)
424-
));
424+
), -1);
425425
if (auto options = BindManager::get()->getRepeatOptionsFor(m_action.getID())) {
426426
auto clock = CCSprite::createWithSpriteFrameName("GJ_timeIcon_001.png");
427427
if (!options.value().enabled) {
@@ -431,13 +431,13 @@ void BindableNode::updateMenu(bool updateLayer) {
431431
m_bindMenu->addChild(CCMenuItemSpriteExtra::create(
432432
createBindBtn(clock),
433433
this, menu_selector(BindableNode::onEditRepeat)
434-
));
434+
), -1);
435435
}
436436
if (!BindManager::get()->hasDefaultBinds(m_action.getID())) {
437437
m_bindMenu->addChild(CCMenuItemSpriteExtra::create(
438438
createBindBtn(CCSprite::createWithSpriteFrameName("edit_ccwBtn_001.png")),
439439
this, menu_selector(BindableNode::onResetToDefault)
440-
));
440+
), -1);
441441
}
442442
}
443443
m_bindMenu->updateLayout();

0 commit comments

Comments
 (0)