Fixes inspector sizing and removes kb shortcuts

This commit is contained in:
Stuart Breckenridge 2020-08-13 19:16:17 +08:00
parent a214a260a0
commit de590248b3
No known key found for this signature in database
GPG Key ID: 79BD673276AE83CE

View File

@ -127,11 +127,12 @@ struct InspectorView: View {
Spacer() Spacer()
Button("Cancel", action: { Button("Cancel", action: {
presentationMode.wrappedValue.dismiss() presentationMode.wrappedValue.dismiss()
}).keyboardShortcut(.cancelAction) })
Button("Done", action: { Button("Done", action: {
inspectorModel.shouldUpdate = true inspectorModel.shouldUpdate = true
}).keyboardShortcut(.defaultAction) })
}.padding(.top)
}.padding([.top, .bottom])
#endif #endif
} }
.onAppear { .onAppear {