assistant2: Fix tool picker appearance inside modal (#27635)

This PR fixes the tool picker appearance now that there is a header.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-03-27 20:10:32 -04:00 committed by GitHub
parent dc6004066d
commit bb15f4c493
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,7 @@ pub struct ToolPicker {
impl ToolPicker {
pub fn new(delegate: ToolPickerDelegate, window: &mut Window, cx: &mut Context<Self>) -> Self {
let picker = cx.new(|cx| Picker::uniform_list(delegate, window, cx));
let picker = cx.new(|cx| Picker::uniform_list(delegate, window, cx).modal(false));
Self { picker }
}
}