Skip to content

Commit

Permalink
Fix MenuButton signals & Update icons
Browse files Browse the repository at this point in the history
  • Loading branch information
floppyhammer committed Jan 25, 2025
1 parent b8be13b commit 03c2daa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 146 deletions.
73 changes: 1 addition & 72 deletions assets/icons/CheckBox_Checked.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 1 addition & 73 deletions assets/icons/CheckBox_Unchecked.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/nodes/ui/menu_button.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ std::weak_ptr<PopupMenu> MenuButton::get_popup_menu() const {
}

void MenuButton::connect_signal(const std::string& signal, const AnyCallable<void>& callback) {
NodeUi::connect_signal(signal, callback);
Button::connect_signal(signal, callback);

if (signal == "item_selected") {
selected_callbacks.push_back(callback);
Expand Down

0 comments on commit 03c2daa

Please # to comment.