auto-hide watch
This commit is contained in:
@@ -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)>,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user