mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Closed beta 10020005: Added several buttons animations.
This commit is contained in:
@@ -54,6 +54,13 @@ public:
|
||||
_clickedCallback = std_::move(callback);
|
||||
}
|
||||
|
||||
void setVisible(bool visible) override {
|
||||
TWidget::setVisible(visible);
|
||||
if (!visible) {
|
||||
clearState();
|
||||
}
|
||||
}
|
||||
|
||||
protected:
|
||||
void enterEvent(QEvent *e) override;
|
||||
void leaveEvent(QEvent *e) override;
|
||||
|
Reference in New Issue
Block a user