mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
extensions_ui: Remove commented-out code (#14525)
This PR removes some commented-out code from the `extensions_ui`. Release Notes: - N/A
This commit is contained in:
parent
1818fef32f
commit
da33aac156
@ -762,25 +762,19 @@ impl ExtensionsPage {
|
|||||||
cx.theme().colors().border
|
cx.theme().colors().border
|
||||||
};
|
};
|
||||||
|
|
||||||
h_flex()
|
h_flex().w_full().gap_2().key_context(key_context).child(
|
||||||
.w_full()
|
h_flex()
|
||||||
.gap_2()
|
.flex_1()
|
||||||
.key_context(key_context)
|
.px_2()
|
||||||
// .capture_action(cx.listener(Self::tab))
|
.py_1()
|
||||||
// .on_action(cx.listener(Self::dismiss))
|
.gap_2()
|
||||||
.child(
|
.border_1()
|
||||||
h_flex()
|
.border_color(editor_border)
|
||||||
.flex_1()
|
.min_w(rems_from_px(384.))
|
||||||
.px_2()
|
.rounded_lg()
|
||||||
.py_1()
|
.child(Icon::new(IconName::MagnifyingGlass))
|
||||||
.gap_2()
|
.child(self.render_text_input(&self.query_editor, cx)),
|
||||||
.border_1()
|
)
|
||||||
.border_color(editor_border)
|
|
||||||
.min_w(rems_from_px(384.))
|
|
||||||
.rounded_lg()
|
|
||||||
.child(Icon::new(IconName::MagnifyingGlass))
|
|
||||||
.child(self.render_text_input(&self.query_editor, cx)),
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn render_text_input(&self, editor: &View<Editor>, cx: &ViewContext<Self>) -> impl IntoElement {
|
fn render_text_input(&self, editor: &View<Editor>, cx: &ViewContext<Self>) -> impl IntoElement {
|
||||||
|
Loading…
Reference in New Issue
Block a user