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:
@@ -19,7 +19,7 @@ pub struct ToolPicker {
|
|||||||
|
|
||||||
impl ToolPicker {
|
impl ToolPicker {
|
||||||
pub fn new(delegate: ToolPickerDelegate, window: &mut Window, cx: &mut Context<Self>) -> Self {
|
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 }
|
Self { picker }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user