Skip to content

Commit dfb93c4

Browse files
Fixed initial callout annotation placement
1 parent 46c679b commit dfb93c4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src.primitives/Controls/OrgDiagram/Tasks/Renders/DrawHighlightAnnotationTask.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,9 @@ primitives.orgdiagram.DrawHighlightAnnotationTask = function (getGraphics, creat
9393
uiHash.isCursor = (cursorItemTask.getCursorTreeItem() == treeItemId);
9494
uiHash.isSelected = selectedItemsTask.isSelected(treeItemId);
9595
uiHash.templateName = calloutTemplate.templateConfig.name;
96-
97-
_graphics.position("calloutplaceholder", calloutPanelPosition.x, calloutPanelPosition.y, calloutPanelPosition.width, calloutPanelPosition.height);
9896
_graphics.show("calloutplaceholder");
9997
panel = _graphics.activate("calloutplaceholder", primitives.common.Layers.Annotation);
98+
_graphics.position("calloutplaceholder", calloutPanelPosition.x, calloutPanelPosition.y, calloutPanelPosition.width, calloutPanelPosition.height);
10099
element = _graphics.template(
101100
position.x
102101
, position.y

0 commit comments

Comments
 (0)