mirror of
https://github.com/yattee/yattee.git
synced 2024-11-10 00:08:21 +00:00
Fix drawing borders
This commit is contained in:
parent
152a79d44f
commit
2fd96e3a44
@ -20,7 +20,7 @@ extension View {
|
||||
|
||||
private func verticalEdgeBorder(_ edge: Alignment, height: Double, color: Color) -> some View {
|
||||
overlay(Rectangle().frame(width: nil, height: height, alignment: .top)
|
||||
.foregroundColor(color), alignment: edge)
|
||||
.foregroundColor(color).ignoresSafeArea(.all, edges: .horizontal), alignment: edge)
|
||||
}
|
||||
|
||||
private func horizontalEdgeBorder(_ edge: Alignment, width: Double, color: Color) -> some View {
|
||||
|
Loading…
Reference in New Issue
Block a user