auto-hide watch

This commit is contained in:
galister
2024-02-06 21:25:38 +01:00
parent 041dc44a58
commit c1841243ce
5 changed files with 43 additions and 2 deletions

View File

@@ -27,6 +27,10 @@ fn def_one() -> f32 {
1.0
}
fn def_half() -> f32 {
0.5
}
fn def_osc_port() -> u16 {
9000
}
@@ -48,6 +52,9 @@ pub struct GeneralConfig {
#[serde(default = "def_one")]
pub watch_scale: f32,
#[serde(default = "def_half")]
pub watch_view_angle: f32,
#[serde(default = "def_pw_tokens")]
pub pw_tokens: Vec<(String, String)>,