midy
This commit is contained in:
parent
4a5856f071
commit
b0f9696905
@ -100,7 +100,7 @@ open class OrderTracker: View {
|
|||||||
|
|
||||||
context.setStrokeColor(lineColor)
|
context.setStrokeColor(lineColor)
|
||||||
let relativeRect = convert(step.stateImage.frame, from: step.stateImage)
|
let relativeRect = convert(step.stateImage.frame, from: step.stateImage)
|
||||||
let point = CGPoint(x: halfDimension, y: relativeRect.origin.y + halfDimension)
|
let point = CGPoint(x: halfDimension, y: relativeRect.midY)
|
||||||
|
|
||||||
context.addLine(to: point)
|
context.addLine(to: point)
|
||||||
context.strokePath()
|
context.strokePath()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user