Skip to content

Commit 3c3e498

Browse files
committed
I shouldn't be setting it throws off typescript
1 parent b670dc4 commit 3c3e498

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Scripts/WindowManager.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ Dialog.prototype.initWithObject = function(object) {
472472
top: rect.top + viewboxPosition.top
473473
}
474474

475-
if (self.href) self._popupWindow = window.open(self.href, self.title, stringifyDialogProperties(propeties));
475+
if (self.href) self._popupWindow = window.open(self.href, self.title || "LVOS", stringifyDialogProperties(propeties));
476476
self.quit();
477477
}, false);
478478

@@ -1611,8 +1611,9 @@ Dialog.prototype.getState = function() {
16111611
/** @param {DialogState} state */
16121612
Dialog.prototype.loadState = function(state) {
16131613
this.title = state.title;
1614-
this.x = state.x;
1615-
this.y = state.y;
1614+
// this.x = state.x;
1615+
// this.y = state.y;
1616+
this.move(state.x, state.y);
16161617
this.z = state.z;
16171618
this.width = state.width;
16181619
this.height = state.height;

0 commit comments

Comments
 (0)