mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-07-17 14:29:56 +02:00
User a custom tag to manage the desktop instead of GUI
This commit is contained in:
@ -193,10 +193,10 @@ namespace OS {
|
||||
* The HTML element ID of the virtual desktop
|
||||
*
|
||||
* @protected
|
||||
* @type {string}
|
||||
* @type {HTMLElement}
|
||||
* @memberof BaseModel
|
||||
*/
|
||||
protected host: string;
|
||||
protected host: HTMLElement;
|
||||
|
||||
/**
|
||||
* The process number of the current model.
|
||||
@ -294,7 +294,7 @@ namespace OS {
|
||||
this._gui = GUI;
|
||||
this.systemsetting = setting;
|
||||
this.on("exit", () => this.quit(false));
|
||||
this.host = this._gui.workspace;
|
||||
this.host = this._gui.desktop();
|
||||
this.dialog = undefined;
|
||||
}
|
||||
|
||||
@ -504,7 +504,6 @@ namespace OS {
|
||||
/**
|
||||
* trigger a local event
|
||||
*
|
||||
* @protected
|
||||
* @param {string} e event name
|
||||
* @param {*} [d] event data
|
||||
* @returns {void}
|
||||
|
Reference in New Issue
Block a user