2
0
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:
23rd
2025-07-22 16:02:36 +03:00
committed by John Preston
parent 2a15faf12e
commit 15706a7af8

View File

@@ -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);