overviewControls: Move workspaces thumbnails to ViewSelector

This is now all centralized in the apps page, so move the workspaces
thumbnails to ViewSelector's apps page. This allows us to remove
all the slider controls too, since they're now unused.

The transition between showing the workspaces, and the app grid, is
based on the most recent mockups: scale and move it down, and fade it
out.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1593>
This commit is contained in:
Georges Basile Stavracas Neto
2021-01-25 17:50:59 -03:00
committed by Marge Bot
parent 456b446394
commit f17d9676f8
3 changed files with 45 additions and 315 deletions

View File

@ -9,7 +9,7 @@ const Main = imports.ui.main;
const Workspace = imports.ui.workspace;
// The maximum size of a thumbnail is 1/10 the width and height of the screen
let MAX_THUMBNAIL_SCALE = 1 / 10.;
var MAX_THUMBNAIL_SCALE = 1 / 10.;
var RESCALE_ANIMATION_TIME = 200;
var SLIDE_ANIMATION_TIME = 200;