Skip to content

Commit 1311ffe

Browse files
committed
comment
1 parent ecbaa63 commit 1311ffe

File tree

1 file changed

+1
-0
lines changed
  • services/static-webserver/client/source/class/osparc/ui/hint

1 file changed

+1
-0
lines changed

services/static-webserver/client/source/class/osparc/ui/hint/Hint.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ qx.Class.define("osparc.ui.hint.Hint", {
7171

7272
setText: function(text) {
7373
this.getChildControl("label").setValue(text);
74+
// After setting the text, the dimensions of the Hint changed: recenter it
7475
setTimeout(() => this.updatePosition(), 10);
7576
}
7677
}

0 commit comments

Comments
 (0)