fix: hide the fan curve frame when no data available

This commit is contained in:
Ilya Zlobintsev
2023-02-25 13:57:12 +02:00
parent 66afa0eebe
commit 28ff1b7660

View File

@@ -21,6 +21,7 @@ pub struct FanCurveFrame {
impl FanCurveFrame {
pub fn new() -> Self {
let root_box = Box::new(Orientation::Vertical, 5);
root_box.hide();
let hbox = Box::new(Orientation::Horizontal, 5);