mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-24 00:36:17 -04:00
Fix background animation size on 4k screens and decrease base opacity
This commit is contained in:
parent
83549261f6
commit
b8a973f037
2 changed files with 4 additions and 4 deletions
|
@ -62,7 +62,7 @@ function initCanvas(footerOffsetHeight, clientWidth, clientHeight) {
|
|||
c.height = h;
|
||||
x0 = w / 2;
|
||||
y0 = h - offset;
|
||||
dw = Math.round(Math.min(Math.max(w, h), 800) / 10);
|
||||
dw = Math.round(Math.min(Math.max(0.6 * w, h)) / 10);
|
||||
|
||||
drawFrame(currentFrame);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue