[gnome-shell] workspaceThumbnails: Actually use vscale parameter
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] workspaceThumbnails: Actually use vscale parameter
- Date: Fri, 19 Feb 2021 01:24:20 +0000 (UTC)
commit 2e9715c97ecbd2317e82ccb270aeb9e4dfe49e9e
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Feb 16 23:06:37 2021 +0100
workspaceThumbnails: Actually use vscale parameter
We pass two scales to setScale(), but only use the first one for
both horizontal and vertical scaling. We'll soon have a use case
for using a different scale for each dimension, so start using
both parameters.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3739
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1696>
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 40a33fe3a3..8d3cb53d18 100644
--- a/js/ui/workspaceThumbnail.js
+++ b/js/ui/workspaceThumbnail.js
@@ -595,8 +595,8 @@ var WorkspaceThumbnail = GObject.registerClass({
return false;
}
- setScale(scale) {
- this._contents.set_scale(scale, scale);
+ setScale(scaleX, scaleY) {
+ this._contents.set_scale(scaleX, scaleY);
}
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]