mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-04 08:25:38 +00:00
Check for AllowNativeWindowFrameToggle in Controller::verticalShadowTop
This commit is contained in:
@@ -258,6 +258,7 @@ void Controller::showSettings() {
|
|||||||
|
|
||||||
int Controller::verticalShadowTop() const {
|
int Controller::verticalShadowTop() const {
|
||||||
return (Platform::NativeTitleRequiresShadow()
|
return (Platform::NativeTitleRequiresShadow()
|
||||||
|
&& Platform::AllowNativeWindowFrameToggle()
|
||||||
&& Core::App().settings().nativeWindowFrame())
|
&& Core::App().settings().nativeWindowFrame())
|
||||||
? st::lineWidth
|
? st::lineWidth
|
||||||
: 0;
|
: 0;
|
||||||
|
Reference in New Issue
Block a user