1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:37:35 +00:00

LibWeb: Make request_select_dropdown more similar to context menu api

This commit is contained in:
Bastiaan van der Plaat 2023-12-12 22:35:37 +01:00 committed by Andreas Kling
parent aee8b39c65
commit cbb660c756
7 changed files with 10 additions and 9 deletions

View file

@ -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;