2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +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

@@ -1026,12 +1026,12 @@ void WrapWidget::updateContentGeometry() {
}
}
bool WrapWidget::wheelEventFromFloatPlayer(QEvent *e) {
return _content->wheelEventFromFloatPlayer(e);
bool WrapWidget::floatPlayerHandleWheelEvent(QEvent *e) {
return _content->floatPlayerHandleWheelEvent(e);
}
QRect WrapWidget::rectForFloatPlayer() const {
return _content->rectForFloatPlayer();
QRect WrapWidget::floatPlayerAvailableRect() {
return _content->floatPlayerAvailableRect();
}
object_ptr<Ui::RpWidget> WrapWidget::createTopBarSurrogate(