mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-05-21 07:32:15 +00:00
Fixed formatting
This commit is contained in:
parent
a5a9314fe5
commit
e087cfc23f
@ -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(),
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user