Skip to content

Commit d54549b

Browse files
committed
correctly placed
1 parent 0480b49 commit d54549b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

services/static-webserver/client/source/class/osparc/workbench/Annotation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ qx.Class.define("osparc.workbench.Annotation", {
124124
break;
125125
case this.self().TYPES.CONVERSATION: {
126126
const text = `${attrs.x}, ${attrs.y}`;
127-
representation = this.__svgLayer.drawAnnotationConversation(attrs.width, attrs.height, attrs.x, attrs.y, this.getColor());
127+
representation = this.__svgLayer.drawAnnotationConversation(attrs.x, attrs.y, text);
128128
representation.isSVG = true;
129129
break;
130130
}

services/static-webserver/client/source/class/osparc/wrapper/Svg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ qx.Class.define("osparc.wrapper.Svg", {
274274
return rect;
275275
},
276276

277-
drawAnnotationConversation: function(draw, x, y) {
277+
drawAnnotationConversation: function(draw, x = 50, y = 50) {
278278
const color = qx.theme.manager.Color.getInstance().getTheme().colors["text"];
279279
const bubbleWidth = 150;
280280
const bubbleHeight = 30;

0 commit comments

Comments
 (0)