chore: fmt

pull/13821/head
cor 2025-06-25 16:35:23 +02:00
parent 0fa6b1408b
commit ef56d34f60
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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>() {