No need to floor workspace coordinates in vm runtime.

This commit is contained in:
Karishma Chadha 2018-06-05 15:12:25 -04:00
parent 522706ccf8
commit 2171cb69d0

View file

@ -400,8 +400,8 @@ class Blocks {
}
const comment = currTarget.comments[e.commentId];
const newCoord = e.newCoordinate_;
comment.x = Math.floor(newCoord.x);
comment.y = Math.floor(newCoord.y);
comment.x = newCoord.x;
comment.y = newCoord.y;
}
break;
case 'comment_delete':