removed unnecessary value of y
This commit is contained in:
parent
137b467a1e
commit
b88a006c00
@ -29,7 +29,7 @@ import UIKit
|
|||||||
let x = textRect.origin.x
|
let x = textRect.origin.x
|
||||||
|
|
||||||
// Line is 0 point below the text
|
// 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.move(to: CGPoint(x: x, y: y))
|
||||||
context.addLine(to: CGPoint(x: x + textRect.size.width, y: y))
|
context.addLine(to: CGPoint(x: x + textRect.size.width, y: y))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user