oops
This commit is contained in:
parent
c428545d20
commit
e28fa649a7
1 changed files with 2 additions and 2 deletions
|
@ -157,8 +157,8 @@ class WindowObject {
|
||||||
static createWindow(windowRef, content, srcdoc, w, h) {
|
static createWindow(windowRef, content, srcdoc, w, h) {
|
||||||
const windowObject = document.createElement("div");
|
const windowObject = document.createElement("div");
|
||||||
windowObject.classList.add("window-object");
|
windowObject.classList.add("window-object");
|
||||||
windowObject.style.width = `calc(${w}px + 2.5em)`;
|
windowObject.style.width = `calc(${w}px + 1.5em)`;
|
||||||
windowObject.style.height = `calc(${h}px + 2.5em)`;
|
windowObject.style.height = `calc(${h}px + 3.5em)`;
|
||||||
|
|
||||||
{
|
{
|
||||||
const windowManager = document.createElement("div");
|
const windowManager = document.createElement("div");
|
||||||
|
|
Loading…
Reference in a new issue