fix: saving off work
This commit is contained in:
@ -67,6 +67,7 @@ pub struct Settings {
|
||||
#[derive(Debug, Default, Clone, Deserialize, Serialize, JsonSchema, ts_rs::TS, PartialEq, Validate)]
|
||||
#[ts(export)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
#[serde(deny_unknown_fields)]
|
||||
pub struct AppSettings {
|
||||
/// The settings for the appearance of the app.
|
||||
#[serde(default, skip_serializing_if = "is_default")]
|
||||
@ -96,7 +97,6 @@ pub struct AppSettings {
|
||||
pub show_debug_panel: bool,
|
||||
/// If true, the grid cells will be fixed-size, where the width is the user's default length unit.
|
||||
/// If false, the grid's size will scale as the user zooms in and out.
|
||||
#[serde(default = "make_it_so", skip_serializing_if = "is_default")]
|
||||
pub fixed_size_grid: bool,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user