TDKCandidates // Remove SwiftUI ScrollViews.
This commit is contained in:
parent
fe78a5c292
commit
720ccfa4e3
|
@ -57,7 +57,7 @@ public struct VwrCandidateTDK: View {
|
||||||
@available(macOS 10.15, *)
|
@available(macOS 10.15, *)
|
||||||
private extension VwrCandidateTDK {
|
private extension VwrCandidateTDK {
|
||||||
var mainViewHorizontal: some View {
|
var mainViewHorizontal: some View {
|
||||||
ScrollView(.vertical, showsIndicators: false) {
|
Group {
|
||||||
VStack(alignment: .leading, spacing: 1.6) {
|
VStack(alignment: .leading, spacing: 1.6) {
|
||||||
ForEach(thePool.lineRangeForCurrentPage, id: \.self) { rowIndex in
|
ForEach(thePool.lineRangeForCurrentPage, id: \.self) { rowIndex in
|
||||||
ZStack(alignment: .leading) {
|
ZStack(alignment: .leading) {
|
||||||
|
@ -94,7 +94,7 @@ private extension VwrCandidateTDK {
|
||||||
}
|
}
|
||||||
|
|
||||||
var mainViewVertical: some View {
|
var mainViewVertical: some View {
|
||||||
ScrollView(.horizontal, showsIndicators: false) {
|
Group {
|
||||||
HStack(alignment: .top, spacing: 4) {
|
HStack(alignment: .top, spacing: 4) {
|
||||||
ForEach(Array(thePool.lineRangeForCurrentPage.enumerated()), id: \.offset) { _, columnIndex in
|
ForEach(Array(thePool.lineRangeForCurrentPage.enumerated()), id: \.offset) { _, columnIndex in
|
||||||
VStack(alignment: .leading, spacing: 0) {
|
VStack(alignment: .leading, spacing: 0) {
|
||||||
|
|
Loading…
Reference in New Issue