diff --git a/src/js/whiteboard.js b/src/js/whiteboard.js index 1638537..38e7bed 100644 --- a/src/js/whiteboard.js +++ b/src/js/whiteboard.js @@ -976,7 +976,8 @@ const whiteboard = { top, txId, isStickyNote, - newLocalBox + newLocalBox, + remote ) { var _this = this; console.log(isStickyNote); @@ -984,6 +985,8 @@ const whiteboard = { if (isStickyNote) { cssclass += " stickyNote"; } + left = remote ? left + _this.viewCoords.x : left; + top = remote ? top + _this.viewCoords.y : top; var textBox = $( '