mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
eframe/epi: Default drag_and_drop_support to false
Closes https://github.com/emilk/egui/issues/598
This commit is contained in:
@@ -170,7 +170,7 @@ pub struct NativeOptions {
|
|||||||
pub decorated: bool,
|
pub decorated: bool,
|
||||||
|
|
||||||
/// On Windows: enable drag and drop support.
|
/// On Windows: enable drag and drop support.
|
||||||
/// Set to false to avoid issues with crates such as cpal which
|
/// 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>
|
/// uses that use multi-threaded COM API <https://github.com/rust-windowing/winit/pull/1524>
|
||||||
pub drag_and_drop_support: bool,
|
pub drag_and_drop_support: bool,
|
||||||
|
|
||||||
@@ -194,7 +194,7 @@ impl Default for NativeOptions {
|
|||||||
Self {
|
Self {
|
||||||
always_on_top: false,
|
always_on_top: false,
|
||||||
decorated: true,
|
decorated: true,
|
||||||
drag_and_drop_support: true,
|
drag_and_drop_support: false,
|
||||||
icon_data: None,
|
icon_data: None,
|
||||||
initial_window_size: None,
|
initial_window_size: None,
|
||||||
resizable: true,
|
resizable: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user