mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-25 21:50:20 +00:00
change: always highlight selected cpu
This commit is contained in:
parent
e6379982f1
commit
e2e1ac3006
2 changed files with 4 additions and 1 deletions
|
@ -20,6 +20,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
- Average CPU is now on by _default_. You can disable it via `-a, --hide_avg_cpu` or `hide_avg_cpu = true`.
|
||||
|
||||
- Make highlighted CPU persist even if widget is not selected - this should help make it easier to know what CPU you are looking at
|
||||
even if you aren't currently on the CPU widget.
|
||||
|
||||
## [0.4.3] - 2020-05-15
|
||||
|
||||
### Other
|
||||
|
|
|
@ -260,7 +260,7 @@ impl CpuGraphWidget for Painter {
|
|||
} else {
|
||||
Some(Row::StyledData(
|
||||
cpu_string_row.into_iter(),
|
||||
if is_on_widget && itx == offset_scroll_index {
|
||||
if itx == offset_scroll_index {
|
||||
self.colours.currently_selected_text_style
|
||||
} else if itx == ALL_POSITION {
|
||||
self.colours.all_colour_style
|
||||
|
|
Loading…
Reference in a new issue