mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
Add eframe::storage_dir (#3286)
* Add `eframe::storage_dir` Now you can easily tell where eframe stores its state * egui_plot: work even without the `serde` featur flag
This commit is contained in:
@@ -159,6 +159,11 @@ pub use web::{WebLogger, WebRunner};
|
||||
#[cfg(any(feature = "glow", feature = "wgpu"))]
|
||||
mod native;
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
#[cfg(any(feature = "glow", feature = "wgpu"))]
|
||||
#[cfg(feature = "persistence")]
|
||||
pub use native::file_storage::storage_dir;
|
||||
|
||||
/// This is how you start a native (desktop) app.
|
||||
///
|
||||
/// The first argument is name of your app, used for the title bar of the native window
|
||||
|
||||
Reference in New Issue
Block a user