forked from olcxjas-softworks/LarpixClient
fix a few bugs
- make mobile vc tiles match pc version - translate missing blahs - make font appear on avatar svg
This commit is contained in:
parent
093498e168
commit
d4c3b15367
12 changed files with 142 additions and 38 deletions
|
|
@ -2212,7 +2212,6 @@ function relayoutVoiceTiles() {
|
|||
}
|
||||
|
||||
const gap = 0.75 * rootFs;
|
||||
const maxSize = 18 * rootFs; // jedna osoba nie dostanie gigantycznego kafelka
|
||||
const minSize = 4.5 * rootFs; // poniżej tego wolimy scrollować niż spłaszczać
|
||||
|
||||
//Największy kwadrat, przy którym n kafelków mieści się w dostępnej powierzchni:
|
||||
|
|
@ -2228,7 +2227,7 @@ function relayoutVoiceTiles() {
|
|||
if (s > best) best = s;
|
||||
}
|
||||
|
||||
const size = Math.min(maxSize, Math.max(minSize, Math.floor(best)));
|
||||
const size = Math.max(minSize, Math.floor(best));
|
||||
const sig = `${n}:${size}`;
|
||||
if (container.dataset.layoutSig === sig) return;
|
||||
container.dataset.layoutSig = sig;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue