E18, reapplied optimizations

This commit is contained in:
booploops 2022-06-10 07:38:24 -07:00
parent ab37a837ce
commit 619a0b16ad
3 changed files with 7 additions and 9 deletions

View file

@ -79,7 +79,7 @@
"@types/express": "^4.17.13", "@types/express": "^4.17.13",
"@types/qrcode-terminal": "^0.12.0", "@types/qrcode-terminal": "^0.12.0",
"@types/ws": "^8.5.3", "@types/ws": "^8.5.3",
"electron": "git+https://github.com/castlabs/electron-releases.git#19-x-y", "electron": "git+https://github.com/castlabs/electron-releases.git#18-x-y",
"electron-builder": "^23.0.3", "electron-builder": "^23.0.3",
"electron-builder-notarize-pkg": "^1.2.0", "electron-builder-notarize-pkg": "^1.2.0",
"electron-webpack": "^2.8.2", "electron-webpack": "^2.8.2",
@ -111,9 +111,9 @@
} }
], ],
"build": { "build": {
"electronVersion": "19.0.3", "electronVersion": "18.3.3",
"electronDownload": { "electronDownload": {
"version": "19.0.3+wvcus", "version": "18.3.3+wvcus",
"mirror": "https://github.com/castlabs/electron-releases/releases/download/v" "mirror": "https://github.com/castlabs/electron-releases/releases/download/v"
}, },
"appId": "cider", "appId": "cider",

View file

@ -97,7 +97,7 @@
data: function () { data: function () {
return { return {
showInLibrary: false, showInLibrary: false,
isVisible: true, isVisible: false,
addedToLibrary: false, addedToLibrary: false,
guid: this.uuidv4(), guid: this.uuidv4(),
app: this.$root, app: this.$root,
@ -509,8 +509,7 @@
} }
}, },
visibilityChanged: function (isVisible, entry) { visibilityChanged: function (isVisible, entry) {
return this.isVisible = isVisible
// this.isVisible = isVisible
}, },
async getHeartStatus() { async getHeartStatus() {
try { try {

View file

@ -91,7 +91,7 @@
}, },
data: function () { data: function () {
return { return {
isVisible: true, isVisible: false,
addedToLibrary: false, addedToLibrary: false,
guid: this.uuidv4(), guid: this.uuidv4(),
noplay: ["apple-curators", "editorial-elements", "editorial-items"], noplay: ["apple-curators", "editorial-elements", "editorial-items"],
@ -284,8 +284,7 @@
} }
}, },
visibilityChanged: function (isVisible, entry) { visibilityChanged: function (isVisible, entry) {
//this.isVisible = isVisible this.isVisible = isVisible
return
}, },
async contextMenu(event) { async contextMenu(event) {
if (this.nomenu.includes(this.item.type)) { if (this.nomenu.includes(this.item.type)) {