mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibGUI: Allow blocking CommandPalette/EmojiInput on a per Window basis
Instead of having to negate every focusable widget or textbox, let windows override all their widgets. These two Dialogs now block themselves and each other.
This commit is contained in:
committed by
Tim Flynn
parent
bfcb4d88cf
commit
f8e65d24cf
Notes:
sideshowbarker
2024-07-17 07:19:11 +09:00
Author: https://github.com/thankyouverycool Commit: https://github.com/SerenityOS/serenity/commit/f8e65d24cf Pull-request: https://github.com/SerenityOS/serenity/pull/15175 Reviewed-by: https://github.com/trflynn89 ✅
@@ -53,6 +53,8 @@ EmojiInputDialog::EmojiInputDialog(Window* parent_window)
|
||||
VERIFY_NOT_REACHED();
|
||||
|
||||
set_frameless(true);
|
||||
set_blocks_command_palette(true);
|
||||
set_blocks_emoji_input(true);
|
||||
resize(400, 300);
|
||||
|
||||
auto& scrollable_container = *main_widget.find_descendant_of_type_named<GUI::ScrollableContainerWidget>("scrollable_container"sv);
|
||||
|
||||
Reference in New Issue
Block a user