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
1 changed files with 4 additions and 3 deletions

View File

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