aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/main.js')
-rw-r--r--src/app/main.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/main.js b/src/app/main.js
index a059671..ab41af6 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -40,3 +40,8 @@ ipcRenderer.on('versionInfo', (_, payload) => {
document.getElementById('nsVersion').innerText = `Northstar version: ${payload.ns}`;
});
ipcRenderer.send('getVersionInfo');
+
+setlang();
+setInterval(() => {
+ ipcRenderer.send("setsize", document.querySelector(".lines").offsetHeight + 20);
+}, 150);