From 889c3293e7bb1fd0def84dec8a4d32b2626d2d37 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 13 Sep 2021 20:09:16 +0300 Subject: [PATCH] Fix PathShiftGradient colors with custom palettes. --- Telegram/SourceFiles/history/view/history_view_element.cpp | 3 ++- Telegram/lib_ui | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/history/view/history_view_element.cpp b/Telegram/SourceFiles/history/view/history_view_element.cpp index c8af38808f..72c8e3b3ff 100644 --- a/Telegram/SourceFiles/history/view/history_view_element.cpp +++ b/Telegram/SourceFiles/history/view/history_view_element.cpp @@ -67,7 +67,8 @@ std::unique_ptr MakePathShiftGradient( return std::make_unique( st->msgServiceBg(), st->msgServiceBgSelected(), - std::move(update)); + std::move(update), + st->paletteChanged()); } SimpleElementDelegate::SimpleElementDelegate( diff --git a/Telegram/lib_ui b/Telegram/lib_ui index 8589a8d850..ef633ec503 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit 8589a8d8501701e1b93f9752abdaf1740e6d0517 +Subproject commit ef633ec5039773a024eb3284a326f196a9e91ddf