diff --git a/include/ui/Rect.h b/include/ui/Rect.h index 6cf64eb63..31e28d27f 100644 --- a/include/ui/Rect.h +++ b/include/ui/Rect.h @@ -34,6 +34,7 @@ public: // because we want the compiler generated versions inline Rect() { + left = right = top = bottom = 0; } inline Rect(int32_t w, int32_t h) {