diff options
-rw-r--r-- | desktop/main.js | 1 | ||||
-rw-r--r-- | desktop/sources/scripts/io.osc.js | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/desktop/main.js b/desktop/main.js index 88f68af..62f6a2e 100644 --- a/desktop/main.js +++ b/desktop/main.js @@ -19,6 +19,7 @@ app.on('ready', () => { frame: process.platform !== 'darwin', skipTaskbar: process.platform === 'darwin', autoHideMenuBar: process.platform === 'darwin', + webPreferences: { zoomFactor: 1.0 }, webPreferences: { backgroundThrottling: false } }) diff --git a/desktop/sources/scripts/io.osc.js b/desktop/sources/scripts/io.osc.js index 208a305..c761ced 100644 --- a/desktop/sources/scripts/io.osc.js +++ b/desktop/sources/scripts/io.osc.js @@ -53,9 +53,9 @@ function Osc (terminal) { terminal.controller.commit() } - this.setup = function () { + this.setup = function (ip = '127.0.0.1') { if (this.client) { this.client.kill() } - this.client = new osc.Client('127.0.0.1', this.port) + this.client = new osc.Client(ip, this.port) } } |