[BUG] Current build does not properly start and has two stub functions MenuComponent.cpp lines 214 and 224

This commit is contained in:
2024-01-16 00:53:29 -06:00
parent c0ae0697b7
commit e669968bc3
19 changed files with 43 additions and 57 deletions
@@ -51,7 +51,7 @@ private:
public:
inline MenuAnimatedIconToggleButton(geom2d::rect<float>rect,std::string animation,MenuFunc onClick)
:MenuAnimatedIconButton(rect,animation,[](MenuFuncData data){
std::weak_ptr<MenuAnimatedIconToggleButton>button=DYNAMIC_POINTER_CAST<MenuAnimatedIconToggleButton>(data.component.lock());
std::weak_ptr<MenuAnimatedIconToggleButton>button=dynamic_pointer_cast<MenuAnimatedIconToggleButton>(data.component.lock());
button.lock()->Select();
button.lock()->_onClick(data);
return true;