background: Trivial style cleanup

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1599>
This commit is contained in:
Georges Basile Stavracas Neto 2020-06-09 18:18:00 -03:00 committed by Marge Bot
parent b84eb2437d
commit 862b5be7a2

View File

@ -655,12 +655,14 @@ class Animation extends GnomeDesktop.BGSlideShow {
var BackgroundManager = class BackgroundManager { var BackgroundManager = class BackgroundManager {
constructor(params) { constructor(params) {
params = Params.parse(params, { container: null, params = Params.parse(params, {
layoutManager: Main.layoutManager, container: null,
monitorIndex: null, layoutManager: Main.layoutManager,
vignette: false, monitorIndex: null,
controlPosition: true, vignette: false,
settingsSchema: BACKGROUND_SCHEMA }); controlPosition: true,
settingsSchema: BACKGROUND_SCHEMA,
});
let cache = getBackgroundCache(); let cache = getBackgroundCache();
this._settingsSchema = params.settingsSchema; this._settingsSchema = params.settingsSchema;