aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.js
diff options
context:
space:
mode:
authorAlystrasz <contact@remyraes.com>2021-12-30 00:19:21 +0100
committerAlystrasz <contact@remyraes.com>2021-12-30 00:19:21 +0100
commit869fef7de703174b5b0e0eadc6565a8963bb6bfc (patch)
tree6d0cfb1c6c1dcec1f53b8853474f4910db17bdbe /src/app/main.js
parent9df37da13c5eeba92ceeed7a5e9ffbaed976a615 (diff)
parentfabfee3a0b845a9b58dbb59932228d6c4223aad3 (diff)
downloadViper-869fef7de703174b5b0e0eadc6565a8963bb6bfc.tar.gz
Viper-869fef7de703174b5b0e0eadc6565a8963bb6bfc.zip
Merge branch 'main' into feat/version-indicator
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);