mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-27 06:30:19 +00:00
Default to showing time at first for autohide.
This commit is contained in:
parent
1046043138
commit
8630287676
1 changed files with 3 additions and 3 deletions
|
@ -246,7 +246,7 @@ impl Default for NetState {
|
||||||
zoom_level: 100.0,
|
zoom_level: 100.0,
|
||||||
display_time: constants::DEFAULT_TIME_MILLISECONDS,
|
display_time: constants::DEFAULT_TIME_MILLISECONDS,
|
||||||
force_update: false,
|
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(),
|
core_show_vec: Vec::new(),
|
||||||
display_time: constants::DEFAULT_TIME_MILLISECONDS,
|
display_time: constants::DEFAULT_TIME_MILLISECONDS,
|
||||||
force_update: false,
|
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,
|
zoom_level: 100.0,
|
||||||
display_time: constants::DEFAULT_TIME_MILLISECONDS,
|
display_time: constants::DEFAULT_TIME_MILLISECONDS,
|
||||||
force_update: false,
|
force_update: false,
|
||||||
display_time_instant: None,
|
display_time_instant: Some(Instant::now()),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue