mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-07-05 00:06:20 -04:00
opt: optimize shield_when_capture of layer
This commit is contained in:
parent
ed31b411c5
commit
c644c43d28
2 changed files with 5 additions and 1 deletions
|
|
@ -408,6 +408,10 @@ void init_fadeout_layers(LayerSurface *l) {
|
|||
if (!l->mon || !l->scene)
|
||||
return;
|
||||
|
||||
if (l->shield_when_capture) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ((l->animation_type_close &&
|
||||
strcmp(l->animation_type_close, "none") == 0) ||
|
||||
(!l->animation_type_close &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue