mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-12-25 06:44:21 +01:00
Small bugfix in js
This commit is contained in:
parent
706f2b32b0
commit
93dc57d618
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ function initDraw(){
|
|||
}
|
||||
area *= 3;
|
||||
|
||||
return [Math.min(x / area)+0.5, Math.max(y / area)+0.5];
|
||||
return [Math.floor(x / area)+0.5, Math.floor(y / area)+0.5];
|
||||
}
|
||||
|
||||
function undo(){
|
||||
|
|
Loading…
Reference in a new issue