ui revamp 3.5

finished dropdown, might need a bit more
This commit is contained in:
Guy Sandler committed 2026-02-25 14:57:31 -08:00
1 parent 0bc995301f
commit a13374c23f
3 files changed
+17 -6

No files matched your search

+13
View File
@@ -748,6 +748,19 @@ function setup() {
document.querySelector("#customBackgroundLink").value = "";
sendFromPopup("updateBackground");
});
document.getElementById("fontsDropdown").addEventListener("click", (e) => {
const el = document.getElementById("quick-fonts");
const el2 = document.getElementsByClassName("custom-font")[0];
if (el.style.display === "none") {
el.style.display = "flex";
el2.style.display = "block";
} else {
el.style.display = "none";
el2.style.display = "none";
}
});
}
function applyGPAPreset(bounds) {