mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 15:13:57 +02:00
Check for AllowNativeWindowFrameToggle in Controller::verticalShadowTop
This commit is contained in:
parent
40b776befc
commit
6d07d49659
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue