[gnome-shell] workspaceThumbnail: Reduce maximum scale to 5%
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] workspaceThumbnail: Reduce maximum scale to 5%
- Date: Fri, 29 Jan 2021 15:04:20 +0000 (UTC)
commit 0d4bce9fa76ff0ce147d574bcbb078258892ad9d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Jan 25 21:09:53 2021 -0300
workspaceThumbnail: Reduce maximum scale to 5%
As per design direction, reduce the maximum workspaces thumbnails to 5% of the
primary monitor size.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1593>
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 e238f2a1d4..ba9739dd9c 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]