obey our god lints

This commit is contained in:
nyx 2024-10-04 00:45:16 -04:00
parent fba93ec50a
commit 919b55209e
No known key found for this signature in database
GPG Key ID: 9924455A3BB7D06C

View File

@ -667,7 +667,8 @@ impl AppState {
fn enable_description(&mut self) { fn enable_description(&mut self) {
if let Some(command_description) = self.get_selected_description() { if let Some(command_description) = self.get_selected_description() {
if !command_description.is_empty() { if !command_description.is_empty() {
let description = FloatingText::new(command_description, FloatingTextMode::Description); let description =
FloatingText::new(command_description, FloatingTextMode::Description);
self.spawn_float(description, 80, 80); self.spawn_float(description, 80, 80);
} }
} }