This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new 86e2a44  [OPENMEETINGS-2584] typo is fixed
86e2a44 is described below

commit 86e2a44d4058f808e2cdb50d122e9436f3b525ba
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Mon Mar 1 12:47:45 2021 +0700

    [OPENMEETINGS-2584] typo is fixed
---
 openmeetings-web/src/main/front/wb/src/wb-area.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openmeetings-web/src/main/front/wb/src/wb-area.js 
b/openmeetings-web/src/main/front/wb/src/wb-area.js
index a7baa5b..eb60d30 100644
--- a/openmeetings-web/src/main/front/wb/src/wb-area.js
+++ b/openmeetings-web/src/main/front/wb/src/wb-area.js
@@ -75,7 +75,7 @@ module.exports = class DrawWbArea extends WbAreaBase {
                        ctx.save();
                        ctx.translate(left, top);
                        
ctx.rotate(fabric.util.degreesToRadians(fabricObject.angle));
-                       ctx.drawImage(arrowImg, x-arrowImg.width / 2, 
-arrowImg.height / 2);
+                       ctx.drawImage(arrowImg, -arrowImg.width / 2, 
-arrowImg.height / 2);
                        ctx.restore();
                };
                fabric.Object.prototype.controls.tr = new fabric.Control({

Reply via email to