Fixed formatting

This commit is contained in:
Thorsten Sommer 2026-04-15 18:18:36 +02:00
parent a5a9314fe5
commit e087cfc23f
No known key found for this signature in database
GPG Key ID: B0B7E2FC074BF1F5

View File

@ -311,11 +311,11 @@ impl Event {
FileDropEvent::Dropped(files) => Event::new(TauriEventType::FileDropDropped, FileDropEvent::Dropped(files) => Event::new(TauriEventType::FileDropDropped,
files.iter().map(|f| f.to_string_lossy().to_string()).collect(), files.iter().map(|f| f.to_string_lossy().to_string()).collect(),
), ),
FileDropEvent::Cancelled => Event::new(TauriEventType::FileDropCanceled, FileDropEvent::Cancelled => Event::new(TauriEventType::FileDropCanceled,
Vec::new(), Vec::new(),
), ),
_ => Event::new(TauriEventType::Unknown, _ => Event::new(TauriEventType::Unknown,
Vec::new(), Vec::new(),
@ -327,7 +327,7 @@ impl Event {
Event::new(TauriEventType::WindowFocused, Event::new(TauriEventType::WindowFocused,
Vec::new(), Vec::new(),
) )
} else { } else {
Event::new(TauriEventType::WindowNotFocused, Event::new(TauriEventType::WindowNotFocused,
Vec::new(), Vec::new(),
) )