mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-27 07:34:27 +02:00
Default to showing time at first for autohide.
This commit is contained in:
parent
1046043138
commit
8630287676
@ -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…
x
Reference in New Issue
Block a user