2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Check for AllowNativeWindowFrameToggle in Controller::verticalShadowTop

This commit is contained in:
Ilya Fedin
2021-02-20 22:06:00 +04:00
committed by John Preston
parent 40b776befc
commit 6d07d49659

View File

@@ -258,6 +258,7 @@ void Controller::showSettings() {
int Controller::verticalShadowTop() const {
return (Platform::NativeTitleRequiresShadow()
&& Platform::AllowNativeWindowFrameToggle()
&& Core::App().settings().nativeWindowFrame())
? st::lineWidth
: 0;