mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 15:35:51 +00:00
Added initial context menu to TabbedPanel.
Added ability to schedule and send silently stickers and GIFs.
This commit is contained in:
@@ -364,6 +364,10 @@ void TabbedPanel::hideAnimated() {
|
||||
} else {
|
||||
startOpacityAnimation(true);
|
||||
}
|
||||
|
||||
// There is no reason to worry about the message scheduling box
|
||||
// while it moves the user to the separate scheduled section.
|
||||
_shouldFinishHide = _selector->hasMenu();
|
||||
}
|
||||
|
||||
void TabbedPanel::toggleAnimated() {
|
||||
@@ -380,6 +384,7 @@ void TabbedPanel::hideFinished() {
|
||||
_showAnimation.reset();
|
||||
_cache = QPixmap();
|
||||
_hiding = false;
|
||||
_shouldFinishHide = false;
|
||||
_selector->hideFinished();
|
||||
}
|
||||
|
||||
@@ -390,6 +395,9 @@ void TabbedPanel::showAnimated() {
|
||||
}
|
||||
|
||||
void TabbedPanel::showStarted() {
|
||||
if (_shouldFinishHide) {
|
||||
return;
|
||||
}
|
||||
if (isHidden()) {
|
||||
_selector->showStarted();
|
||||
moveByBottom();
|
||||
|
Reference in New Issue
Block a user