smart login form, embedded fonts, other improvments

This commit is contained in:
Andrew Gundersen 2022-02-19 17:55:51 -06:00
commit cf38b3dd15
21 changed files with 6105 additions and 2442 deletions

View file

@ -58,15 +58,15 @@ function draggify(elementId, parentId, margin) {
// Move element to target smoothly.
const repositionAnime = (xChange, yChange) => {
const xStep = xChange / 6000;
const yStep = yChange / 6000;
const xStep = xChange / 1000;
const yStep = yChange / 1000;
for (let i = 1; i <= 6000; i++) {
for (let i = 1; i <= 1000; i++) {
setTimeout(() => {
elementX.value += xStep;
elementY.value += yStep;
}, 16) // 60fps
}, 30) // 60fps
}
}