fix custom image size
This commit is contained in:
parent
5d83896080
commit
db1b0c995f
|
@ -58,6 +58,8 @@ struct SwiftUIView: View {
|
|||
var body: some View {
|
||||
HStack(alignment:.center) {
|
||||
Image(nsImage: $viewModel.image.wrappedValue).renderingMode(.template)
|
||||
.resizable().aspectRatio(contentMode: .fit).frame(width: 16,height: 16)
|
||||
|
||||
if $viewModel.showSpeed.wrappedValue {
|
||||
Spacer(minLength: 0)
|
||||
VStack(alignment: .trailing) {
|
||||
|
|
Loading…
Reference in New Issue