mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-11-16 15:01:44 +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