mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-20 08:03:45 +08:00
Fix user-driven fullscreen change on macOS.
This commit is contained in:
@@ -394,6 +394,11 @@ Panel::Panel(Args &&args)
|
||||
sendContentSafeArea();
|
||||
}, _widget->lifetime());
|
||||
|
||||
_widget->fullScreenValue(
|
||||
) | rpl::start_with_next([=](bool fullscreen) {
|
||||
_fullscreen = fullscreen;
|
||||
}, _widget->lifetime());
|
||||
|
||||
_widget->closeRequests(
|
||||
) | rpl::start_with_next([=] {
|
||||
if (_closeNeedConfirmation) {
|
||||
|
||||
Reference in New Issue
Block a user