mirror of
https://github.com/elementary/gala.git
synced 2024-08-17 11:00:28 +03:00
ScreenShield: respect animations key (#1744)
This commit is contained in:
parent
d6e37f3289
commit
2b34d8cf69
@ -334,7 +334,7 @@ namespace Gala {
|
||||
grab_key_focus ();
|
||||
modal_proxy = wm.push_modal (this);
|
||||
|
||||
if (animate) {
|
||||
if (wm.enable_animations && animate) {
|
||||
animate_and_lock (animation_time);
|
||||
} else {
|
||||
_set_active (true);
|
||||
|
Loading…
Reference in New Issue
Block a user