removed unnecessary value of y

This commit is contained in:
Vasavi Kanamarlapudi 2022-04-05 20:40:10 +05:30
parent 137b467a1e
commit b88a006c00

View File

@ -29,7 +29,7 @@ import UIKit
let x = textRect.origin.x
// Line is 0 point below the text
let y = textRect.origin.y + textRect.size.height + 0
let y = textRect.origin.y + textRect.size.height
context.move(to: CGPoint(x: x, y: y))
context.addLine(to: CGPoint(x: x + textRect.size.width, y: y))