mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fixed ability to use PageDown/PageUp in section for pinned messages.
This commit is contained in:
@@ -176,6 +176,11 @@ PinnedWidget::PinnedWidget(
|
||||
onScroll();
|
||||
}, lifetime());
|
||||
|
||||
_inner->scrollKeyEvents(
|
||||
) | rpl::start_with_next([=](not_null<QKeyEvent*> e) {
|
||||
_scroll->keyPressEvent(e);
|
||||
}, lifetime());
|
||||
|
||||
setupClearButton();
|
||||
setupTranslateBar();
|
||||
Window::SetupSwipeBackSection(this, _scroll.get(), _inner);
|
||||
|
Reference in New Issue
Block a user