2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Simplify ordering of stories tooltip.

This commit is contained in:
John Preston
2023-07-28 12:10:01 +04:00
parent fcd1062d78
commit 7d1725b339
5 changed files with 20 additions and 12 deletions

View File

@@ -1386,6 +1386,15 @@ void Widget::jumpToTop(bool belowPinned) {
}
}
void Widget::raiseWithTooltip() {
raise();
if (_stories) {
Ui::PostponeCall(this, [=] {
_stories->raiseTooltip();
});
}
}
void Widget::scrollToDefault(bool verytop) {
if (verytop) {
//_scroll->verticalScrollBar()->setMinimum(0);