From 4105c1d6f6a2b751a12d49fbd67c747627be1ad6 Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Sun, 17 Jan 2021 19:35:22 -0800 Subject: [PATCH] Fix arrow position (#200) * Fix arrow position * Restore that --- Secretive/Views/EmptyStoreView.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Secretive/Views/EmptyStoreView.swift b/Secretive/Views/EmptyStoreView.swift index db85890..689b00b 100644 --- a/Secretive/Views/EmptyStoreView.swift +++ b/Secretive/Views/EmptyStoreView.swift @@ -53,14 +53,14 @@ struct EmptyStoreModifiableView: View { CGPoint(x: g.size.width / 2, y: g.size.height * (1/2)), control2: CGPoint(x: g.size.width * (3/4), y: g.size.height * (1/2))) path.addCurve(to: - CGPoint(x: g.size.width, y: 0), control1: - CGPoint(x: g.size.width, y: g.size.height * (1/2)), control2: - CGPoint(x: g.size.width, y: 0)) + CGPoint(x: g.size.width - 13, y: 0), control1: + CGPoint(x: g.size.width - 13 , y: g.size.height * (1/2)), control2: + CGPoint(x: g.size.width - 13, y: 0)) }.stroke(style: StrokeStyle(lineWidth: 5, lineCap: .round)) Path { path in - path.move(to: CGPoint(x: g.size.width - 10, y: 0)) - path.addLine(to: CGPoint(x: g.size.width, y: -10)) - path.addLine(to: CGPoint(x: g.size.width + 10, y: 0)) + path.move(to: CGPoint(x: g.size.width - 23, y: 0)) + path.addLine(to: CGPoint(x: g.size.width - 13, y: -10)) + path.addLine(to: CGPoint(x: g.size.width - 3, y: 0)) }.fill() }.frame(height: (windowGeometry.size.height/2) - 20).padding() Text("No Secrets").bold()