mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-11 13:59:23 -04:00
No need to floor workspace coordinates in vm runtime.
This commit is contained in:
parent
522706ccf8
commit
2171cb69d0
1 changed files with 2 additions and 2 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue