summaryrefslogtreecommitdiffstats
path: root/src/canvas
diff options
context:
space:
mode:
authorClementTsang <cjhtsang@uwaterloo.ca>2020-05-18 23:36:06 -0400
committerClementTsang <cjhtsang@uwaterloo.ca>2020-05-18 23:36:58 -0400
commite2e1ac300618a06d8cc3f5216cd79ffed39eb913 (patch)
tree1554f4ce1cb5833accc9865a160529f2358d377e /src/canvas
parente6379982f17acedf964eaccd1c099da311e58bb3 (diff)
change: always highlight selected cpu
Diffstat (limited to 'src/canvas')
-rw-r--r--src/canvas/widgets/cpu_graph.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/canvas/widgets/cpu_graph.rs b/src/canvas/widgets/cpu_graph.rs
index 2e147c11..3fcd0bef 100644
--- a/src/canvas/widgets/cpu_graph.rs
+++ b/src/canvas/widgets/cpu_graph.rs
@@ -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