forked from rDrama/rDrama
1
0
Fork 0

increase number of sekeltons on desktop

master
Aevann 2023-10-14 22:30:03 +03:00
parent a3c8dc0d87
commit 672d6f82f7
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,10 @@
let bones_container = document.getElementById('bones-container');
let number = parseInt(bones_container.dataset.bones)
const sources = ['skeleton1.webp','skeleton2.webp','skeleton3.webp','skeleton4.webp','skeleton5.webp','skeleton6.webp'];
let number = parseInt(bones_container.dataset.bones)
if (screen_width >= 768)
number *= 2
const pw = screen_width / 3.5
let circles = [];