⚡️ Use the gif format for the buttons
It'll improve performances
This commit is contained in:
parent
0bb7f8c4cf
commit
3cfd3b77d6
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
@ -26,7 +26,7 @@ function createFilename(prideflag, text, now = false) {
|
|||
.replaceAll("&", "and")
|
||||
.replaceAll("+", "")
|
||||
.toLowerCase();
|
||||
return `${prideflag.name.en.toLowerCase()}-${adaptedText}${now?'-now':''}.png`;
|
||||
return `${prideflag.name.en.toLowerCase()}-${adaptedText}${now?'-now':''}.gif`;
|
||||
}
|
||||
|
||||
function createButton(source, x, y, text, gravity) {
|
||||
|
|
Loading…
Reference in a new issue