Skip to content

Commit

Permalink
Merge pull request #302 from boostcampwm2023/AOS-fix/node
Browse files Browse the repository at this point in the history
๋ฃจํŠธ ๋…ธ๋“œ ํ…์ŠคํŠธ ๋Œ€์‘
  • Loading branch information
yang1318 authored Dec 13, 2023
2 parents c085404 + 17cec57 commit 3b98b91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 3b98b91

Please sign in to comment.