exposed scrollpos for content area
This commit is contained in:
parent
437c0cd389
commit
57fd94dc72
2 changed files with 5 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue