mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-19 14:41:29 +02:00
Use mouse hover callback for menu buttons
This commit is contained in:
@@ -238,7 +238,7 @@ class GameView::MenuAction: public ui::ButtonAction
|
||||
public:
|
||||
Menu * menu;
|
||||
MenuAction(GameView * _v, Menu * menu_) { v = _v; menu = menu_; }
|
||||
void ActionCallback(ui::Button * sender)
|
||||
void MouseEnterCallback(ui::Button * sender)
|
||||
{
|
||||
v->c->SetActiveMenu(menu);
|
||||
}
|
||||
|
Reference in New Issue
Block a user