Fix window title update on macOS.
This commit is contained in:
parent
b65ff79393
commit
84e0979f47
1 changed files with 5 additions and 0 deletions
|
|
@ -385,6 +385,11 @@ void WindowHelper::close() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void WindowHelper::init() {
|
void WindowHelper::init() {
|
||||||
|
style::PaletteChanged(
|
||||||
|
) | rpl::start_with_next([=] {
|
||||||
|
Ui::ForceFullRepaint(window());
|
||||||
|
}, window()->lifetime());
|
||||||
|
|
||||||
rpl::combine(
|
rpl::combine(
|
||||||
window()->sizeValue(),
|
window()->sizeValue(),
|
||||||
_title->heightValue(),
|
_title->heightValue(),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue