mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Make first responder only if this is a blank new post
This commit is contained in:
parent
c655e628e1
commit
99551b9a1d
@ -60,7 +60,7 @@ struct PostTextEditingView: View {
|
||||
}
|
||||
MacEditorTextView(
|
||||
text: $combinedText,
|
||||
isFirstResponder: post.status == PostStatus.local.rawValue,
|
||||
isFirstResponder: combinedText.isEmpty,
|
||||
isEditable: true,
|
||||
font: NSFont(name: appearance.rawValue, size: 17),
|
||||
onEditingChanged: onEditingChanged,
|
||||
|
Loading…
Reference in New Issue
Block a user