mirror of
https://github.com/GuySandler/CanvasRefined.git
synced 2026-11-25 15:07:57 +01:00
started card settings
This commit is contained in:
1 parent
6253c7217b
commit
bbfb7309bd
4 files changed
+46
-3
No files matched your search
+1
-1
@@ -128,4 +128,4 @@ chrome.runtime.onInstalled.addListener(function () {
|
||||
});
|
||||
});
|
||||
|
||||
chrome.runtime.setUninstallURL("https://diditupe.dev/bettercanvas/goodbye");
|
||||
// chrome.runtime.setUninstallURL("https://diditupe.dev/bettercanvas/goodbye");
|
||||
+13
-1
@@ -623,7 +623,19 @@ function setup() {
|
||||
"F": { "cutoff": 0, "gpa": 0 }
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
document.getElementById("imageSize").addEventListener("input", (e) => {
|
||||
chrome.storage.sync.set({"imageSize": parseInt(e.target.value)});
|
||||
sendFromPopup("updateCardStyles", { imageSize: parseInt(e.target.value) });
|
||||
})
|
||||
document.getElementById("cardRoundness").addEventListener("input", (e) => {
|
||||
chrome.storage.sync.set({"cardRoundness": parseInt(e.target.value)});
|
||||
sendFromPopup("updateCardStyles", { cardRoundness: parseInt(e.target.value) });
|
||||
})
|
||||
document.getElementById("cardSpacing").addEventListener("input", (e) => {
|
||||
chrome.storage.sync.set({"cardSpacing": parseInt(e.target.value)});
|
||||
sendFromPopup("updateCardStyles", { cardSpacing: parseInt(e.target.value) });
|
||||
})
|
||||
}
|
||||
|
||||
function applyGPAPreset(bounds) {
|
||||
|
||||
Reference in new issue
Block a user