mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
made drag and drop support selectable on Windows for the eframe glium integration (#324)
* made drag and drop support selectable on windows to avoid issues with crates that use multi-threaded COM apis * fixed formatting and clippy issues
This commit is contained in:
@@ -155,6 +155,12 @@ pub trait App {
|
||||
fn transparent(&self) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
/// On Windows: enable drag and drop support.
|
||||
/// Set to 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>
|
||||
fn drag_and_drop_support(&self) -> bool {
|
||||
true
|
||||
}
|
||||
}
|
||||
|
||||
/// Image data for the icon.
|
||||
|
||||
Reference in New Issue
Block a user