mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Make request_select_dropdown more similar to context menu api
This commit is contained in:
parent
aee8b39c65
commit
cbb660c756
Notes:
sideshowbarker
2024-07-17 03:03:44 +09:00
Author: https://github.com/bplaat
Commit: cbb660c756
Pull-request: https://github.com/SerenityOS/serenity/pull/22270
7 changed files with 10 additions and 9 deletions
|
@ -331,7 +331,7 @@ void Page::color_picker_closed(Optional<Color> picked_color)
|
|||
}
|
||||
}
|
||||
|
||||
void Page::did_request_select_dropdown(WeakPtr<HTML::HTMLSelectElement> target, Gfx::IntPoint content_position, i32 minimum_width, Vector<Web::HTML::SelectItem> items)
|
||||
void Page::did_request_select_dropdown(WeakPtr<HTML::HTMLSelectElement> target, Web::CSSPixelPoint content_position, Web::CSSPixels minimum_width, Vector<Web::HTML::SelectItem> items)
|
||||
{
|
||||
if (m_pending_non_blocking_dialog == PendingNonBlockingDialog::None) {
|
||||
m_pending_non_blocking_dialog = PendingNonBlockingDialog::Select;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue