mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-10-17 07:55:43 +02:00
Fixed ability to use PageDown/PageUp in section for pinned messages.
This commit is contained in:
parent
2a15faf12e
commit
15706a7af8
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue