We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6be04f commit 283e9d5Copy full SHA for 283e9d5
Sources/OpenTDS/Component/ScrollView/ScrollView.swift
@@ -33,7 +33,7 @@ public struct TossScrollView<Content: View>: View {
33
Text(title)
34
.font(.system(size: 17, weight: .medium))
35
.opacity(shrink ? 1 : 0)
36
- .padding(.vertical, 12)
+ .padding(.vertical, 6)
37
.frame(maxWidth: .infinity)
38
GeometryReader { outsideProxy in
39
ScrollView(showsIndicators: showsIndicators) {
@@ -46,7 +46,7 @@ public struct TossScrollView<Content: View>: View {
46
DispatchQueue.main.async {
47
let proxy = outsideProxy.frame(in: .global).minY - newValue
48
withAnimation(.default) {
49
- shrink = proxy > 36
+ shrink = proxy > 33
50
}
51
52
0 commit comments