mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
Remove the directories dependency (#4904)
eframe now has its own logic to find the storage_dir to persist the app when the persistence feature is enabled, instead of using the directories crate. The directory should be the same as before (verified with a unit test). * Closes <https://github.com/emilk/egui/issues/4884> * [x] I have followed the instructions in the PR template
This commit is contained in:
@@ -351,8 +351,8 @@ pub struct NativeOptions {
|
||||
/// persisted (only if the "persistence" feature is enabled).
|
||||
pub persist_window: bool,
|
||||
|
||||
/// The folder where `eframe` will store the app state. If not set, eframe will get the paths
|
||||
/// from [directories].
|
||||
/// The folder where `eframe` will store the app state. If not set, eframe will use a default
|
||||
/// data storage path for each target system.
|
||||
pub persistence_path: Option<std::path::PathBuf>,
|
||||
|
||||
/// Controls whether to apply dithering to minimize banding artifacts.
|
||||
|
||||
Reference in New Issue
Block a user