diff --git a/components/flatbutton.h b/components/flatbutton.h index f85029c..bca4481 100644 --- a/components/flatbutton.h +++ b/components/flatbutton.h @@ -29,8 +29,9 @@ protected: private: inline void updateOverlayGeometry() { - if (_overlay) + if (_overlay) { _overlay->setGeometry(rect()); + } } RippleOverlay *const _overlay;