From 17cec57804f7f3aea58a0b51f67882ce77163e5a Mon Sep 17 00:00:00 2001 From: jaehan4707 Date: Wed, 13 Dec 2023 22:16:32 +0900 Subject: [PATCH] =?UTF-8?q?refactor(#301):=20=EB=A3=A8=ED=8A=B8=20?= =?UTF-8?q?=EB=85=B8=EB=93=9C=20=ED=81=AC=EA=B8=B0=20=EB=8C=80=EC=9D=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/boostcamp/and07/mindsync/ui/view/NodeView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AOS/app/src/main/java/boostcamp/and07/mindsync/ui/view/NodeView.kt b/AOS/app/src/main/java/boostcamp/and07/mindsync/ui/view/NodeView.kt index 9a3b5c21..fa9b7d8a 100644 --- a/AOS/app/src/main/java/boostcamp/and07/mindsync/ui/view/NodeView.kt +++ b/AOS/app/src/main/java/boostcamp/and07/mindsync/ui/view/NodeView.kt @@ -341,7 +341,7 @@ class NodeView( drawInfo.textPaint.color = Color.WHITE if (lines.size > 1) { var y = - node.path.centerY.toPx(context) - node.path.radius.toPx(context) / 2 + drawInfo.padding.toPx(context) / 2 + node.path.centerY.toPx(context) - node.path.radius.toPx(context) + drawInfo.padding.toPx(context) for (line in lines) { drawInfo.textPaint.getTextBounds(line, 0, line.length, bounds) canvas.drawText(