diff options
Diffstat (limited to 'src/canvas/widgets/cpu_graph.rs')
-rw-r--r-- | src/canvas/widgets/cpu_graph.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/canvas/widgets/cpu_graph.rs b/src/canvas/widgets/cpu_graph.rs index f882b210..85200e98 100644 --- a/src/canvas/widgets/cpu_graph.rs +++ b/src/canvas/widgets/cpu_graph.rs @@ -30,7 +30,7 @@ impl Painter { if legend_width < 6 { // Skip drawing legend if app_state.current_widget.widget_id == (widget_id + 1) { - if app_state.app_config_fields.left_legend { + if app_state.app_config_fields.cpu_left_legend { app_state.move_widget_selection(&WidgetDirection::Right); } else { app_state.move_widget_selection(&WidgetDirection::Left); @@ -54,7 +54,7 @@ impl Painter { } else { let graph_width = draw_loc.width - legend_width; let (graph_index, legend_index, constraints) = - if app_state.app_config_fields.left_legend { + if app_state.app_config_fields.cpu_left_legend { ( 1, 0, |