TDKCandidates // Disable the display of scrollbars.

This commit is contained in:
ShikiSuen 2022-10-01 17:36:35 +08:00
parent d5e01b5adf
commit 502a8f12fb
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ public struct VwrCandidateHorizontal: View {
public var body: some View { public var body: some View {
VStack(alignment: .leading, spacing: 0) { VStack(alignment: .leading, spacing: 0) {
ScrollView(.vertical, showsIndicators: true) { ScrollView(.vertical, showsIndicators: false) {
VStack(alignment: .leading, spacing: 1.6) { VStack(alignment: .leading, spacing: 1.6) {
ForEach(thePool.rangeForCurrentHorizontalPage, id: \.self) { rowIndex in ForEach(thePool.rangeForCurrentHorizontalPage, id: \.self) { rowIndex in
HStack(spacing: 10) { HStack(spacing: 10) {

View File

@ -50,7 +50,7 @@ public struct VwrCandidateVertical: View {
public var body: some View { public var body: some View {
VStack(alignment: .leading, spacing: 0) { VStack(alignment: .leading, spacing: 0) {
ScrollView(.horizontal, showsIndicators: true) { ScrollView(.horizontal, showsIndicators: false) {
HStack(alignment: .top, spacing: 10) { HStack(alignment: .top, spacing: 10) {
ForEach(thePool.rangeForCurrentVerticalPage, id: \.self) { columnIndex in ForEach(thePool.rangeForCurrentVerticalPage, id: \.self) { columnIndex in
VStack(alignment: .leading, spacing: 0) { VStack(alignment: .leading, spacing: 0) {