revamp
This commit is contained in:
parent
0327cb715a
commit
02ca4cf85b
7 changed files with 341 additions and 36 deletions
4
map.js
4
map.js
|
@ -122,7 +122,9 @@ for (let asset of assets) {
|
|||
}
|
||||
|
||||
let off = [-(imgA[0].width * zoom - map.width) / 2, -(imgA[0].height * zoom - map.height) / 2];
|
||||
mpos = [off[0], off[1]];
|
||||
setTimeout(function() {
|
||||
mpos = [off[0], off[1]];
|
||||
},300)
|
||||
|
||||
setInterval(move, 10);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue