mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-31 22:56:04 +00:00
LibGUI+LibGfx: Let Desktop::the() set widget effects
Scrolling can now be set Coarse or Smooth system-wide, Splitter knurls and Tab accents toggled on and off, and Menu flashing disabled.
This commit is contained in:
parent
1d445356b6
commit
5917545633
Notes:
sideshowbarker
2024-07-17 08:21:22 +09:00
Author: https://github.com/thankyouverycool
Commit: 5917545633
Pull-request: https://github.com/SerenityOS/serenity/pull/14805
8 changed files with 28 additions and 19 deletions
|
@ -1234,6 +1234,8 @@ Menu& Window::add_menu(String name)
|
|||
|
||||
void Window::flash_menubar_menu_for(MenuItem const& menu_item)
|
||||
{
|
||||
if (!Desktop::the().system_effects().flash_menus())
|
||||
return;
|
||||
auto menu_id = menu_item.menu_id();
|
||||
if (menu_id < 0)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue