mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibGUI+WindowServer: Flash menubar menu when using a keyboard shortcut
Briefly flash the menubar menu containing the keyboard shortcut action to give the user immediate visual feedback on their interaction with the system.
This commit is contained in:
parent
ed0f4bdfaf
commit
6c049ea4c4
Notes:
sideshowbarker
2024-07-17 21:22:49 +09:00
Author: https://github.com/bugreport0
Commit: 6c049ea4c4
Pull-request: https://github.com/SerenityOS/serenity/pull/9536
11 changed files with 88 additions and 1 deletions
|
@ -211,6 +211,7 @@ public:
|
|||
|
||||
Menu& add_menu(String name);
|
||||
ErrorOr<NonnullRefPtr<Menu>> try_add_menu(String name);
|
||||
void flash_menubar_menu_for(const MenuItem&);
|
||||
|
||||
void flush_pending_paints_immediately();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue