From b4bff8326628cb3e8256d9d741063259a4873d14 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 9 Sep 2021 15:39:39 +0300 Subject: [PATCH] Limit popup menu with who read users height. --- Telegram/SourceFiles/ui/chat/chat.style | 1 + Telegram/lib_ui | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/ui/chat/chat.style b/Telegram/SourceFiles/ui/chat/chat.style index b6e09c902..c701a8689 100644 --- a/Telegram/SourceFiles/ui/chat/chat.style +++ b/Telegram/SourceFiles/ui/chat/chat.style @@ -886,6 +886,7 @@ defaultWhoRead: WhoRead { } whoReadMenu: PopupMenu(defaultPopupMenu) { scrollPadding: margins(0px, 6px, 0px, 6px); + maxHeight: 387px; menu: Menu(defaultMenu) { separatorPadding: margins(0px, 6px, 0px, 8px); } diff --git a/Telegram/lib_ui b/Telegram/lib_ui index 02c1bd567..52718aa5d 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit 02c1bd567451152e4f15f674a21ca118421c3c3e +Subproject commit 52718aa5dba78d710292ef8b06c28a557f5a81ad