Default to showing time at first for autohide.

This commit is contained in:
ClementTsang 2020-03-10 01:38:37 -04:00
parent 1046043138
commit 8630287676
1 changed files with 3 additions and 3 deletions

View File

@ -246,7 +246,7 @@ impl Default for NetState {
zoom_level: 100.0,
display_time: constants::DEFAULT_TIME_MILLISECONDS,
force_update: false,
display_time_instant: None,
display_time_instant: Some(Instant::now()),
}
}
}
@ -269,7 +269,7 @@ impl Default for CpuState {
core_show_vec: Vec::new(),
display_time: constants::DEFAULT_TIME_MILLISECONDS,
force_update: false,
display_time_instant: None,
display_time_instant: Some(Instant::now()),
}
}
}
@ -294,7 +294,7 @@ impl Default for MemState {
zoom_level: 100.0,
display_time: constants::DEFAULT_TIME_MILLISECONDS,
force_update: false,
display_time_instant: None,
display_time_instant: Some(Instant::now()),
}
}
}