From 6d07d49659cfc3a119ab38f40c977d80c5679dde Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Sat, 20 Feb 2021 22:06:00 +0400 Subject: [PATCH] Check for AllowNativeWindowFrameToggle in Controller::verticalShadowTop --- Telegram/SourceFiles/window/window_controller.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/window/window_controller.cpp b/Telegram/SourceFiles/window/window_controller.cpp index f76b5d697..b4a168f83 100644 --- a/Telegram/SourceFiles/window/window_controller.cpp +++ b/Telegram/SourceFiles/window/window_controller.cpp @@ -258,6 +258,7 @@ void Controller::showSettings() { int Controller::verticalShadowTop() const { return (Platform::NativeTitleRequiresShadow() + && Platform::AllowNativeWindowFrameToggle() && Core::App().settings().nativeWindowFrame()) ? st::lineWidth : 0;