Skip to content

Commit 7bebb3c

Browse files
committed
click on conversation working
1 parent 8799e63 commit 7bebb3c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,11 @@ qx.Class.define("osparc.workbench.Annotation", {
135135
}, this);
136136
break;
137137
case this.self().TYPES.CONVERSATION:
138+
representation["clickables"].forEach(clickable => {
139+
clickable.click(() => {
140+
this.fireDataEvent("annotationClicked", false);
141+
}, this);
142+
});
138143
break;
139144
}
140145
osparc.wrapper.Svg.makeDraggable(representation);

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,8 @@ qx.Class.define("osparc.wrapper.Svg", {
358358

359359
bubble.back();
360360

361+
bubble["clickables"] = [icon, label];
362+
361363
return bubble;
362364
},
363365

0 commit comments

Comments
 (0)