TDKCandidates // Add window border.

This commit is contained in:
ShikiSuen 2022-10-09 16:12:24 +08:00
parent 4edbe4d85c
commit 34c382638e
4 changed files with 12 additions and 0 deletions

View File

@ -107,6 +107,9 @@ public struct VwrCandidateHorizontal: View {
.fixedSize(horizontal: false, vertical: true)
}
.frame(minWidth: thePool.maxWindowWidth, maxWidth: thePool.maxWindowWidth)
.overlay(
RoundedRectangle(cornerRadius: 10).stroke(.white.opacity(0.2), lineWidth: 1)
)
.cornerRadius(10)
}
}

View File

@ -110,6 +110,9 @@ public struct VwrCandidateVertical: View {
)
}
}
.overlay(
RoundedRectangle(cornerRadius: 10).stroke(.white.opacity(0.2), lineWidth: 1)
)
.cornerRadius(10)
}
}

View File

@ -112,6 +112,9 @@ public struct VwrCandidateHorizontalBackports: View {
.fixedSize(horizontal: false, vertical: true)
}
.frame(minWidth: thePool.maxWindowWidth, maxWidth: thePool.maxWindowWidth)
.overlay(
RoundedRectangle(cornerRadius: 10).stroke(.white.opacity(0.2), lineWidth: 1)
)
.cornerRadius(10)
}
}

View File

@ -115,6 +115,9 @@ public struct VwrCandidateVerticalBackports: View {
)
}
}
.overlay(
RoundedRectangle(cornerRadius: 10).stroke(.white.opacity(0.2), lineWidth: 1)
)
.cornerRadius(10)
}
}