Added ./libs/ direcroty (and the pages).
This commit is contained in:
@@ -4,8 +4,8 @@ const PAGES = {
|
||||
SYNTHWAVE: 1,
|
||||
TOYS: 2,
|
||||
LICENSE: 3,
|
||||
SC_TRACKER: 4,
|
||||
LOADING: 5
|
||||
LOADING: 4,
|
||||
LIBS: 5
|
||||
}
|
||||
const CONSOLE_COLORS = {
|
||||
red: "color: #FF0000;",
|
||||
@@ -126,6 +126,7 @@ function pauseAnimBtn(state) {
|
||||
}
|
||||
|
||||
let pauseBtn = document.getElementById("animationToggle")
|
||||
if (pauseBtn == undefined) { return; }
|
||||
|
||||
if (state == "true") {
|
||||
isAnimating = true
|
||||
@@ -181,6 +182,7 @@ document.addEventListener("DOMContentLoaded", async function() {
|
||||
|
||||
if (CURRENT_PAGE == PAGES.LOADING) {
|
||||
clearLoadingScreenClutter()
|
||||
setLoadingProgress("")
|
||||
setInterval(periodicallyChangeTips, 60 * 1000)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ canvas {
|
||||
padding: calc(1px * var(--pxDensity));
|
||||
margin: calc(3px * var(--pxDensity)) calc(3px * var(--pxDensity)) 0% 0%;
|
||||
width: round(auto, var(--pxDensity));
|
||||
height: calc(6px * var(--pxDensity));
|
||||
/*height: calc(6px * var(--pxDensity));*/
|
||||
}
|
||||
.switch {
|
||||
position: relative;
|
||||
|
||||
+2
-2
@@ -6,9 +6,9 @@ navBarPresent = true
|
||||
function onLoadNavBar() {
|
||||
const container = document.getElementById("navBarContainer")
|
||||
const altString = container.dataset.alt || ""
|
||||
alts = altString.replace(" ", "").split(",")
|
||||
alts = altString.replaceAll(" ", "").split(",")
|
||||
|
||||
debugPrint("Navbar alts", alts);
|
||||
debugPrint("Navbar alts", alts.join(", "));
|
||||
|
||||
if (!container) { return }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user