Skip to content

Commit

Permalink
๐Ÿ’„ Style(client): title component offset ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
p1n9d3v authored and p1n9d3v committed Dec 1, 2024
1 parent 8f5c65c commit 2318cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/client/src/components/Group/ncloud/Title.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default ({ bounds, color, text }: Props) => {
const rectWidth = fontSize * textLength;
const rectHeight = 50;
const rectY = 10;
const rectX = dimension === '2d' ? 10 : 90;
const rectX = 10;

const matrix = convertToIsoMatrix(bounds.x, bounds.y).toString();
const centerX = rectWidth / 2 + rectX;
Expand Down

0 comments on commit 2318cc2

Please sign in to comment.