aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CustomApps/betterLibrary/betterlibrary.js (renamed from app/betterlibrary.js)8
-rw-r--r--CustomApps/betterLibrary/index.js (renamed from app/index.js)0
-rw-r--r--CustomApps/betterLibrary/loadcss.js (renamed from app/loadcss.js)0
-rw-r--r--CustomApps/betterLibrary/manifest.json (renamed from app/manifest.json)0
-rw-r--r--CustomApps/betterLibrary/style.css (renamed from app/style.css)0
5 files changed, 4 insertions, 4 deletions
diff --git a/app/betterlibrary.js b/CustomApps/betterLibrary/betterlibrary.js
index f2f2d8c..7650f29 100644
--- a/app/betterlibrary.js
+++ b/CustomApps/betterLibrary/betterlibrary.js
@@ -26,12 +26,12 @@ function enableBetterLib() {
sidebar.appendChild(text);
if (Spicetify.Platform.History)
lastSidebarMode = Spicetify.Platform.LocalStorageAPI.getItem("ylx-sidebar-state");
- lastSidebarSize = document.documentElement.style.getPropertyValue("--nav-bar-width");
+ lastSidebarSize = document.documentElement.style.getPropertyValue("--left-sidebar-width");
Spicetify.Platform.LocalStorageAPI.setItem("ylx-sidebar-state",2);
if (lastSidebarMode != 1) //uncollapes sidebar temporarily while in betterlibrary
- document.documentElement.style.setProperty("--nav-bar-width", lastSidebarSize);
+ document.documentElement.style.setProperty("--left-sidebar-width", lastSidebarSize);
else
- document.documentElement.style.setProperty("--nav-bar-width", "280px");
+ document.documentElement.style.setProperty("--left-sidebar-width", "280px");
betterLibIsEnabled = true;
}
});
@@ -41,7 +41,7 @@ function disableBetterLib() {
sidebar.appendChild(library);
center.appendChild(text);
Spicetify.Platform.LocalStorageAPI.setItem("ylx-sidebar-state",lastSidebarMode);
- document.documentElement.style.setProperty("--nav-bar-width", lastSidebarSize);
+ document.documentElement.style.setProperty("--left-sidebar-width", lastSidebarSize);
betterLibIsEnabled = false;
}
diff --git a/app/index.js b/CustomApps/betterLibrary/index.js
index 4b09a88..4b09a88 100644
--- a/app/index.js
+++ b/CustomApps/betterLibrary/index.js
diff --git a/app/loadcss.js b/CustomApps/betterLibrary/loadcss.js
index 184b445..184b445 100644
--- a/app/loadcss.js
+++ b/CustomApps/betterLibrary/loadcss.js
diff --git a/app/manifest.json b/CustomApps/betterLibrary/manifest.json
index 043f9d8..043f9d8 100644
--- a/app/manifest.json
+++ b/CustomApps/betterLibrary/manifest.json
diff --git a/app/style.css b/CustomApps/betterLibrary/style.css
index 69f1b25..69f1b25 100644
--- a/app/style.css
+++ b/CustomApps/betterLibrary/style.css