2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Fixed section scrolling above voice recording lock.

This commit is contained in:
23rd
2020-11-22 04:11:52 +03:00
committed by John Preston
parent 5f9e497d38
commit 7b837e5138
7 changed files with 28 additions and 0 deletions

View File

@@ -815,6 +815,11 @@ void HistoryWidget::initVoiceRecordBar() {
updateSendButtonType();
}, lifetime());
_voiceRecordBar->lockViewportEvents(
) | rpl::start_with_next([=](not_null<QEvent*> e) {
_scroll->viewportEvent(e);
}, lifetime());
_voiceRecordBar->hideFast();
}