From 5224c6dc977ebe81a6212809678a7f3817534cb5 Mon Sep 17 00:00:00 2001 From: matbgn Date: Sat, 25 Jun 2022 23:23:21 +0200 Subject: [PATCH] Fix local move for textBox --- src/js/whiteboard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/whiteboard.js b/src/js/whiteboard.js index 4fc85f2..2430bb9 100644 --- a/src/js/whiteboard.js +++ b/src/js/whiteboard.js @@ -985,8 +985,8 @@ const whiteboard = { if (isStickyNote) { cssclass += " stickyNote"; } - left = remote ? left + _this.viewCoords.x : left; - top = remote ? top + _this.viewCoords.y : top; + left = left + _this.viewCoords.x; + top = top + _this.viewCoords.y; var textBox = $( '