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>
This commit is contained in:
parent
267c5f84a8
commit
2e9715c97e
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user