This commit is contained in:
nyx 2024-10-10 06:03:06 -04:00
parent e8af79669b
commit 6c0dedf8fb
No known key found for this signature in database
GPG Key ID: 6038FFD6589902CB

View File

@ -657,7 +657,9 @@ impl AppState {
if let Some(list_node) = self.get_selected_node() { if let Some(list_node) = self.get_selected_node() {
let mut preview_title = "[Preview] - ".to_string(); let mut preview_title = "[Preview] - ".to_string();
preview_title.push_str(list_node.name.as_str()); preview_title.push_str(list_node.name.as_str());
if let Some(preview) = FloatingText::from_command(&list_node.command, FloatingTextMode::Preview) { if let Some(preview) =
FloatingText::from_command(&list_node.command, FloatingTextMode::Preview)
{
self.spawn_float(preview, 80, 80); self.spawn_float(preview, 80, 80);
} }
} }