diff options
Diffstat (limited to 'src/canvas/widgets/cpu_graph.rs')
-rw-r--r-- | src/canvas/widgets/cpu_graph.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/canvas/widgets/cpu_graph.rs b/src/canvas/widgets/cpu_graph.rs index 73b8a9c0..e03e7d19 100644 --- a/src/canvas/widgets/cpu_graph.rs +++ b/src/canvas/widgets/cpu_graph.rs @@ -123,6 +123,8 @@ impl CpuGraphWidget for Painter { cpu_widget_state.autohide_timer = None; Axis::default().bounds([-(cpu_widget_state.current_display_time as f64), 0.0]) } + } else if draw_loc.height < 7 { + Axis::default().bounds([-(cpu_widget_state.current_display_time as f64), 0.0]) } else { Axis::default() .bounds([-(cpu_widget_state.current_display_time as f64), 0.0]) |