1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 21:30:03 -04:00

Add better documentation for epi::NativeOptions::drag_and_drop_support

Closes https://github.com/emilk/egui/issues/747
This commit is contained in:
Emil Ernerfeldt
2021-09-30 19:40:21 +02:00
parent e2bdd40985
commit 76cdbe2cf8
4 changed files with 11 additions and 3 deletions

View File

@@ -180,8 +180,9 @@ pub struct NativeOptions {
pub decorated: bool,
/// On Windows: enable drag and drop support.
/// Default is `false` to avoid issues with crates such as cpal which
/// uses that use multi-threaded COM API <https://github.com/rust-windowing/winit/pull/1524>
/// Default is `false` to avoid issues with crates such as [`cpal`](https://github.com/RustAudio/cpal) which
/// will hang when combined with drag-and-drop.
/// See <https://github.com/rust-windowing/winit/issues/1255>.
pub drag_and_drop_support: bool,
/// The application icon, e.g. in the Windows task bar etc.