1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:27:34 +00:00

WindowServer: Add menu item fade-out animation upon activation

This commit is contained in:
Tom 2021-03-27 14:34:38 -06:00 committed by Andreas Kling
parent 7e9c265cc0
commit b8f462a78b
2 changed files with 52 additions and 0 deletions

View file

@ -135,6 +135,8 @@ private:
void did_activate(MenuItem&, bool leave_menu_open);
void update_for_new_hovered_item(bool make_input = false);
void start_activation_animation(MenuItem&);
ClientConnection* m_client { nullptr };
int m_menu_id { 0 };
String m_name;