We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 326eabc commit a3937fcCopy full SHA for a3937fc
1 file changed
src/GUI/SetupRangeUI.cpp
@@ -48,7 +48,8 @@ bool SetupRangeUI::setup()
48
trashSpr->setScale(0.75f);
49
50
auto trashBtn = Button::create(trashSpr, this, menu_selector(SetupRangeUI::onClear));
51
- auto trashMenu = CCMenu::create(trashBtn, nullptr);
+ auto trashMenu = CCMenu::create();
52
+ trashMenu->addChild(trashBtn);`
53
54
auto area = CCMenu::create();
55
0 commit comments