pass windowman generation settings

This commit is contained in:
buzz-lightsnack-2007 2024-05-18 09:53:30 +08:00
parent 00fc797ee2
commit 7eda4d82aa

View file

@ -5,9 +5,9 @@ Construct an internal page.
import windowman from "/scripts/GUI/builder/windowman.js"; import windowman from "/scripts/GUI/builder/windowman.js";
export default class Page { export default class Page {
constructor () { constructor (OPTIONS) {
this.window = window; this.window = window;
this.window[`manager`] = new windowman(); this.window[`manager`] = new windowman(OPTIONS);
// Link the elements from this.window.manager to this.window for convenience later on. // Link the elements from this.window.manager to this.window for convenience later on.
if ((this.window[`manager`])) { if ((this.window[`manager`])) {