Improves helder
This commit is contained in:
@@ -167,6 +167,7 @@ struct CommitTextView: NSViewRepresentable {
|
||||
textView.isHorizontallyResizable = false
|
||||
textView.autoresizingMask = [.width]
|
||||
textView.textContainer?.widthTracksTextView = true
|
||||
textView.fillsClipView = true
|
||||
let paragraph = NSMutableParagraphStyle()
|
||||
paragraph.minimumLineHeight = 18
|
||||
paragraph.maximumLineHeight = 18
|
||||
@@ -210,7 +211,7 @@ struct CommitTextView: NSViewRepresentable {
|
||||
}
|
||||
}
|
||||
|
||||
final class CommitNSTextView: NSTextView {
|
||||
final class CommitNSTextView: PointerBoundTextView {
|
||||
var onCommit: (() -> Void)?
|
||||
var onFocusChange: ((Bool) -> Void)?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user