mirror of https://github.com/helix-editor/helix
chore: fmt
parent
0fa6b1408b
commit
ef56d34f60
|
@ -179,7 +179,7 @@ impl Compositor {
|
||||||
pub fn render(&mut self, area: Rect, surface: &mut Surface, cx: &mut Context) {
|
pub fn render(&mut self, area: Rect, surface: &mut Surface, cx: &mut Context) {
|
||||||
// Check if there are prompt layers active and update EditorView
|
// Check if there are prompt layers active and update EditorView
|
||||||
let has_prompt = self.has_component("helix_term::ui::prompt::Prompt");
|
let has_prompt = self.has_component("helix_term::ui::prompt::Prompt");
|
||||||
|
|
||||||
for layer in &mut self.layers {
|
for layer in &mut self.layers {
|
||||||
// Update prompt state for EditorView
|
// Update prompt state for EditorView
|
||||||
if let Some(editor_view) = layer.as_any_mut().downcast_mut::<crate::ui::EditorView>() {
|
if let Some(editor_view) = layer.as_any_mut().downcast_mut::<crate::ui::EditorView>() {
|
||||||
|
|
Loading…
Reference in New Issue