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

Allow float video player across accounts.

This commit is contained in:
John Preston
2020-06-25 18:17:37 +04:00
parent 8171ed6c12
commit bf7aae5fc6
38 changed files with 257 additions and 176 deletions

View File

@@ -608,11 +608,11 @@ QImage TabbedSelector::grabForAnimation() {
return result;
}
bool TabbedSelector::wheelEventFromFloatPlayer(QEvent *e) {
bool TabbedSelector::floatPlayerHandleWheelEvent(QEvent *e) {
return _scroll->viewportEvent(e);
}
QRect TabbedSelector::rectForFloatPlayer() const {
QRect TabbedSelector::floatPlayerAvailableRect() const {
return mapToGlobal(_scroll->geometry());
}