From c72e789be962c2553ae4802be057fa7959cbccd5 Mon Sep 17 00:00:00 2001 From: Michael Davidson Date: Mon, 1 Jan 2024 10:37:55 +1100 Subject: [PATCH] Additional clang-format fixes --- esphome/components/graphical_layout/layout_item.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/esphome/components/graphical_layout/layout_item.h b/esphome/components/graphical_layout/layout_item.h index 9a063e0d1e..faa4db4666 100644 --- a/esphome/components/graphical_layout/layout_item.h +++ b/esphome/components/graphical_layout/layout_item.h @@ -65,9 +65,7 @@ struct Dimension { inline int16_t vertical() const { return this->top + this->bottom; }; /* Returns true if any value is set to a non-zero value*/ - inline bool any() const { - return this->left > 0 || this->top > 0 || this->right > 0 || this->bottom > 0; - }; + inline bool any() const { return this->left > 0 || this->top > 0 || this->right > 0 || this->bottom > 0; }; /* Returns true if all dimensions are equal to the value */ inline bool equals(int16_t value) const {