From 0d4bce9fa76ff0ce147d574bcbb078258892ad9d Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Mon, 25 Jan 2021 21:09:53 -0300 Subject: [PATCH] workspaceThumbnail: Reduce maximum scale to 5% As per design direction, reduce the maximum workspaces thumbnails to 5% of the primary monitor size. Part-of: --- js/ui/workspaceThumbnail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js index e238f2a1d..ba9739dd9 100644 --- a/js/ui/workspaceThumbnail.js +++ b/js/ui/workspaceThumbnail.js @@ -8,8 +8,8 @@ const DND = imports.ui.dnd; 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 -var MAX_THUMBNAIL_SCALE = 1 / 10.; +// The maximum size of a thumbnail is 5% the width and height of the screen +var MAX_THUMBNAIL_SCALE = 0.05; var RESCALE_ANIMATION_TIME = 200; var SLIDE_ANIMATION_TIME = 200;