diff --git a/src/renderer/main/vueapp.js b/src/renderer/main/vueapp.js index 7621fb03..6f378cd6 100644 --- a/src/renderer/main/vueapp.js +++ b/src/renderer/main/vueapp.js @@ -151,6 +151,7 @@ const app = new Vue({ tmpVar: [], notification: false, chrome: { + contentScrollPosY: 0, appliedTheme: { location: "", info: {} @@ -876,6 +877,9 @@ const app = new Vue({ this.checkForThemeUpdates() } }, + setContentScrollPos(scroll) { + this.chrome.contentScrollPosY = scroll.target.scrollTop + }, async checkForThemeUpdates() { let self = this const themes = ipcRenderer.sendSync("get-themes") diff --git a/src/renderer/views/app/app-content.ejs b/src/renderer/views/app/app-content.ejs index 38549d75..3912c46f 100644 --- a/src/renderer/views/app/app-content.ejs +++ b/src/renderer/views/app/app-content.ejs @@ -1,4 +1,4 @@ -
+