Adjust Tab Bar Indicator
Nucleic-Session: 2DA405D7-B197-4DB6-92EB-22357E77F450 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -227,7 +227,7 @@ struct NucleicTabBar: View {
|
|||||||
}
|
}
|
||||||
.foregroundStyle(selected ? Palette.accent : Color.secondary)
|
.foregroundStyle(selected ? Palette.accent : Color.secondary)
|
||||||
.frame(maxWidth: .infinity)
|
.frame(maxWidth: .infinity)
|
||||||
.padding(.vertical, 4)
|
.padding(.vertical, 8)
|
||||||
// The selected item rides a soft accent-tinted capsule that slides between tabs — only
|
// The selected item rides a soft accent-tinted capsule that slides between tabs — only
|
||||||
// the selected item mounts it, and the shared `bubble` geometry makes the single capsule
|
// the selected item mounts it, and the shared `bubble` geometry makes the single capsule
|
||||||
// travel to the new tab, echoing the system floating bar's highlighted-tab indicator.
|
// travel to the new tab, echoing the system floating bar's highlighted-tab indicator.
|
||||||
|
|||||||
Reference in New Issue
Block a user