diff --git a/js/ui/overview.js b/js/ui/overview.js index 2e6b93da6..ba09b9a91 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -4,6 +4,10 @@ const { Clutter, GLib, GObject, Meta, Shell, St } = imports.gi; const Signals = imports.signals; +// Time for initial animation going into Overview mode; +// this is defined here to make it available in imports. +var ANIMATION_TIME = 250; + const Background = imports.ui.background; const DND = imports.ui.dnd; const LayoutManager = imports.ui.layout; @@ -14,9 +18,6 @@ const OverviewControls = imports.ui.overviewControls; const Params = imports.misc.params; const WorkspaceThumbnail = imports.ui.workspaceThumbnail; -// Time for initial animation going into Overview mode -var ANIMATION_TIME = 250; - // Must be less than ANIMATION_TIME, since we switch to // or from the overview completely after ANIMATION_TIME, // and don't want the shading animation to get cut off