smart login form, embedded fonts, other improvments
This commit is contained in:
parent
ead81883b2
commit
cf38b3dd15
21 changed files with 6105 additions and 2442 deletions
|
|
@ -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
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue