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:
@@ -258,6 +258,7 @@ void Controller::showSettings() {
|
||||
|
||||
int Controller::verticalShadowTop() const {
|
||||
return (Platform::NativeTitleRequiresShadow()
|
||||
&& Platform::AllowNativeWindowFrameToggle()
|
||||
&& Core::App().settings().nativeWindowFrame())
|
||||
? st::lineWidth
|
||||
: 0;
|
||||
|
Reference in New Issue
Block a user