db-gn 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/datauri.txt +3 -0
- package/package.json +1 -1
- package/v2.html +4 -3
package/README.md
CHANGED
package/datauri.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
data://text/html;base64,PGJ1dHRvbiBvbmNsaWNrPSIoKCk9Pntkb2N1bWVudC5ib2R5LmlubmVySFRNTD0nPGlmcmFtZSBzcmM9JnF1b3Q7aHR0cHM6Ly9jZG4uanNkZWxpdnIubmV0L25wbS9kYi1nbkBsYXRlc3QvaW5kZXguc3ZnJnF1b3Q7IHN0eWxlPSZxdW90O3dpZHRoOjEwMCU7aGVpZ2h0OjEwMCU7Ym9yZGVyOjAmcXVvdDs+PC9pZnJhbWU+J30pKCkiPkNsaWNrPC9idXR0b24+
|
|
2
|
+
|
|
3
|
+
this is a link btw ^^
|
package/package.json
CHANGED
package/v2.html
CHANGED
|
@@ -1669,7 +1669,6 @@
|
|
|
1669
1669
|
closeAutoclickMenu();
|
|
1670
1670
|
});
|
|
1671
1671
|
window.addEventListener("resize", closeAutoclickMenu);
|
|
1672
|
-
window.addEventListener("blur", closeAutoclickMenu);
|
|
1673
1672
|
|
|
1674
1673
|
return menu;
|
|
1675
1674
|
}
|
|
@@ -1796,8 +1795,10 @@
|
|
|
1796
1795
|
text.className = "ac-all-label";
|
|
1797
1796
|
text.textContent = label;
|
|
1798
1797
|
|
|
1799
|
-
|
|
1800
|
-
|
|
1798
|
+
// On as soon as anything in the group is on, so one click always
|
|
1799
|
+
// turns the whole group off rather than first switching it all on.
|
|
1800
|
+
const anyOn = clickers.some(c => c.enabled);
|
|
1801
|
+
const sw = makeAutoclickSwitch(anyOn, `Turn all ${label.toLowerCase()} ${anyOn ? "off" : "on"}`, (on) => {
|
|
1801
1802
|
clickers.forEach(c => setClickerEnabled(c, on));
|
|
1802
1803
|
renderAutoclickMenu();
|
|
1803
1804
|
}, clickers.length === 0);
|