Skip to content

Commit

Permalink
fix: resolve issue with leftover expand centroid (#1013)
Browse files Browse the repository at this point in the history
  • Loading branch information
eglitise authored Aug 1, 2023
1 parent 22ab58c commit 2a320b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/renderer/components/Inspector/HighlighterRects.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const HighlighterRects = (props) => {
accessible: source.attributes ? source.attributes.accessible : null
}
};
const coordinates = `${obj.properties.centerX}.${obj.properties.centerY}`;
const coordinates = `${obj.properties.centerX},${obj.properties.centerY}`;
obj.properties.container = isElementContainer(obj, elements);

elements.push(obj);
Expand Down

0 comments on commit 2a320b3

Please sign in to comment.