summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
90bcb8a)
A better solution than this should be found, but for now this will avoid confusion when many windows of the same size are stacked.
minimizable: true,
constrainHeader: true,
}));
minimizable: true,
constrainHeader: true,
}));
+
+ win.setPosition(Math.floor(Math.random() * ((this.desktop.getInnerWidth() - win.width) - 1)), Math.floor(Math.random() * ((this.desktop.getInnerHeight() - win.height) - 1)));
+
win.render(this.desktop.el);
if (win.modal) {
win.on('show', function () {
win.render(this.desktop.el);
if (win.modal) {
win.on('show', function () {