mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-22 00:57:09 +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 {
|
||||
return (Platform::NativeTitleRequiresShadow()
|
||||
&& Platform::AllowNativeWindowFrameToggle()
|
||||
&& Core::App().settings().nativeWindowFrame())
|
||||
? st::lineWidth
|
||||
: 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue