shift the square.and.pencil icon so that the square is visually centered in the background rectangle (#1819)

This commit is contained in:
sh95014 2024-01-04 23:50:51 -08:00 committed by GitHub
parent 72b4a92bfe
commit e6a4bd383c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,6 +69,7 @@ struct SideBarView<Content: View>: View {
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 20, height: 30)
.offset(x: 2, y: -2)
}
.buttonStyle(.borderedProminent)
}