Fix window title update on macOS.

This commit is contained in:
John Preston 2021-02-26 21:16:48 +04:00
parent b65ff79393
commit 84e0979f47

View file

@ -385,6 +385,11 @@ void WindowHelper::close() {
}
void WindowHelper::init() {
style::PaletteChanged(
) | rpl::start_with_next([=] {
Ui::ForceFullRepaint(window());
}, window()->lifetime());
rpl::combine(
window()->sizeValue(),
_title->heightValue(),