Improves helder

This commit is contained in:
2026-10-05 09:24:25 +02:00
parent 8fafea4fc3
commit 336987d821
44 changed files with 3454 additions and 542 deletions
@@ -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)?