mirror of
https://github.com/GuySandler/CanvasRefined.git
synced 2026-11-25 07:07:14 +01:00
ui revamp 3.5
finished dropdown, might need a bit more
This commit is contained in:
1 parent
0bc995301f
commit
a13374c23f
3 files changed
+17
-6
No files matched your search
+13
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user