From 7e4bd2b49212262db5eb6e4f9a260ddbf28dca01 Mon Sep 17 00:00:00 2001 From: Leon van Kammen Date: Thu, 9 Jan 2025 12:05:06 +0100 Subject: [PATCH] disabled max window on isoterminal --- com/isoterminal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com/isoterminal.js b/com/isoterminal.js index 786312e..0cbf6d6 100644 --- a/com/isoterminal.js +++ b/com/isoterminal.js @@ -243,7 +243,7 @@ if( typeof AFRAME != 'undefined '){ this.term.emit('term_init', {instance, aEntity:this}) //instance.winbox.resize(720,380) let size = `width: ${this.data.width}; height: ${this.data.height}` - instance.setAttribute("window", `title: xrsh.iso; uid: ${instance.uid}; attach: #overlay; dom: #${instance.dom.id}; ${size}; min: ${this.data.minimized}; max: ${this.data.maximized}; class: no-full, no-resize`) + instance.setAttribute("window", `title: xrsh.iso; uid: ${instance.uid}; attach: #overlay; dom: #${instance.dom.id}; ${size}; min: ${this.data.minimized}; max: ${this.data.maximized}; class: no-full, no-max, no-resize`) }) instance.addEventListener('window.oncreate', (e) => {