2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Profile members block displayed when mouse is over group members count.

This commit is contained in:
John Preston
2016-06-17 21:18:01 +03:00
parent 963000386f
commit f0a8356ff0
20 changed files with 532 additions and 68 deletions

View File

@@ -2696,6 +2696,19 @@ void MainWidget::paintTopBar(Painter &p, float64 over, int32 decreaseWidth) {
}
}
QRect MainWidget::getMembersShowAreaGeometry() const {
if (!_overview && !_wideSection) {
return _history->getMembersShowAreaGeometry();
}
return QRect();
}
void MainWidget::setMembersShowAreaActive(bool active) {
if (!active || (!_overview && !_wideSection)) {
_history->setMembersShowAreaActive(active);
}
}
void MainWidget::onPhotosSelect() {
if (_overview) _overview->switchType(OverviewPhotos);
_mediaType->hideStart();