diff --git a/ui/widgets/tooltip.h b/ui/widgets/tooltip.h index 7a6e2cd..c7c3d10 100644 --- a/ui/widgets/tooltip.h +++ b/ui/widgets/tooltip.h @@ -79,6 +79,7 @@ public: void toggleAnimated(bool visible); void toggleFast(bool visible); void hideAfter(crl::time timeout); + void updateGeometry(); void setHiddenCallback(Fn callback) { _hiddenCallback = std::move(callback); @@ -93,7 +94,6 @@ private: [[nodiscard]] QRect countInner() const; void countApproachSide(RectParts preferSide); void resizeToContent(); - void updateGeometry(); void checkAnimationFinish(); void refreshAnimationCache(); [[nodiscard]] QPoint countPosition() const;