timeLimitsManager: Remove a redundant fallback value
This code was originally copied from `lightbox.js`, where the fallback is potentially useful because the duration is provided as an argument. The `timeLimitsManager` uses a constant as the duration, though, so the fallback is just confusing. Spotted in https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3655#note_2369352 Signed-off-by: Philip Withnall <pwithnall@gnome.org> Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3655>
This commit is contained in:
parent
5d1157cdfa
commit
7183e75f05
@ -957,7 +957,7 @@ class TimeLimitsDispatcher extends GObject.Object {
|
||||
Main.layoutManager.uiGroup.ease_property(
|
||||
'@effects.desaturate.factor', GRAYSCALE_SATURATION,
|
||||
{
|
||||
duration: GRAYSCALE_FADE_TIME_SECONDS * 1000 || 0,
|
||||
duration: GRAYSCALE_FADE_TIME_SECONDS * 1000,
|
||||
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
||||
});
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user