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:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user