Clarified `eframe::run_simple_native()` persistence (#4846)
* [x] I have followed the instructions in the PR template Clarified that `eframe::run_simple_native()` does in fact save some state (if persistence is enabled) but does not allow user to save state.
This commit is contained in:
parent
057033ef34
commit
7736192722
|
|
@ -274,7 +274,9 @@ pub fn run_native(
|
|||
|
||||
/// The simplest way to get started when writing a native app.
|
||||
///
|
||||
/// This does NOT support persistence. For that you need to use [`run_native`].
|
||||
/// This does NOT support persistence of custom user data. For that you need to use [`run_native`].
|
||||
/// However, it DOES support persistence of egui data (window positions and sizes, how far the user has scrolled in a
|
||||
/// [`ScrollArea`](egui::ScrollArea), etc.) if the persistence feature is enabled.
|
||||
///
|
||||
/// # Example
|
||||
/// ``` no_run
|
||||
|
|
|
|||
Loading…
Reference in New Issue