mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-02-03 11:32:28 +00:00
Better iPad / macOS sidebar close #614
This commit is contained in:
parent
2083f72b2b
commit
06120974fa
1 changed files with 2 additions and 3 deletions
|
@ -152,9 +152,8 @@ private struct SideBarIcon: View {
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
Image(systemName: systemIconName)
|
Image(systemName: systemIconName)
|
||||||
.resizable()
|
.font(.title2)
|
||||||
.aspectRatio(contentMode: .fit)
|
.fontWeight(.medium)
|
||||||
.frame(width: 24, height: 24)
|
|
||||||
.foregroundColor(isSelected ? theme.tintColor : theme.labelColor)
|
.foregroundColor(isSelected ? theme.tintColor : theme.labelColor)
|
||||||
.scaleEffect(isHovered ? 0.8 : 1.0)
|
.scaleEffect(isHovered ? 0.8 : 1.0)
|
||||||
.onHover { isHovered in
|
.onHover { isHovered in
|
||||||
|
|
Loading…
Reference in a new issue