|
@@ -29,7 +29,7 @@ class Shortcuts extends Atomic.ScriptObject {
|
|
|
|
|
|
|
|
var playerWindow = Preferences.getInstance().playerWindow;
|
|
var playerWindow = Preferences.getInstance().playerWindow;
|
|
|
if (playerWindow) {
|
|
if (playerWindow) {
|
|
|
- var args = "--windowposx " + playerWindow.x + " --windowposy " + playerWindow.y + " --windowwidth " + playerWindow.width + " --windowheight " + playerWindow.height + " --resizable ";
|
|
|
|
|
|
|
+ var args = "--windowposx " + playerWindow.x + " --windowposy " + playerWindow.y + " --windowwidth " + playerWindow.width + " --windowheight " + playerWindow.height + " --resizable";
|
|
|
Atomic.editorMode.playProject(args, false);
|
|
Atomic.editorMode.playProject(args, false);
|
|
|
} else {
|
|
} else {
|
|
|
Atomic.editorMode.playProject("", false);
|
|
Atomic.editorMode.playProject("", false);
|
|
@@ -42,7 +42,7 @@ class Shortcuts extends Atomic.ScriptObject {
|
|
|
|
|
|
|
|
var playerWindow = Preferences.getInstance().playerWindow;
|
|
var playerWindow = Preferences.getInstance().playerWindow;
|
|
|
if (playerWindow) {
|
|
if (playerWindow) {
|
|
|
- var args = "--windowposx " + playerWindow.x + " --windowposy " + playerWindow.y + " --windowwidth " + playerWindow.width + " --windowheight " + playerWindow.height + " --resizable ";
|
|
|
|
|
|
|
+ var args = "--windowposx " + playerWindow.x + " --windowposy " + playerWindow.y + " --windowwidth " + playerWindow.width + " --windowheight " + playerWindow.height + " --resizable";
|
|
|
Atomic.editorMode.playProject(args, true);
|
|
Atomic.editorMode.playProject(args, true);
|
|
|
} else {
|
|
} else {
|
|
|
Atomic.editorMode.playProject("", true);
|
|
Atomic.editorMode.playProject("", true);
|