From b31ffc1c83f0a143a629a082ec0ef91633de062d Mon Sep 17 00:00:00 2001 From: fish Date: Sun, 12 Jul 2026 21:57:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E6=A1=86=E6=B7=BB=E5=8A=A0=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E5=88=86=E9=9A=94=E7=BA=BF=E8=BE=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Note/FormatLogViewController.swift | 2 ++ Note/FormatNoteViewController.swift | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Note/FormatLogViewController.swift b/Note/FormatLogViewController.swift index d514b1a..d9f000d 100644 --- a/Note/FormatLogViewController.swift +++ b/Note/FormatLogViewController.swift @@ -36,6 +36,8 @@ class FormatLogViewController: UIViewController { textView.font = UIFont.systemFont(ofSize: 16) textView.backgroundColor = .systemBackground textView.layer.cornerRadius = 12 + textView.layer.borderWidth = 0.5 + textView.layer.borderColor = UIColor.separator.cgColor textView.textContainerInset = UIEdgeInsets(top: 12, left: 12, bottom: 12, right: 12) textView.delegate = self view.addSubview(textView) diff --git a/Note/FormatNoteViewController.swift b/Note/FormatNoteViewController.swift index 9bd658f..debf38a 100644 --- a/Note/FormatNoteViewController.swift +++ b/Note/FormatNoteViewController.swift @@ -36,6 +36,8 @@ class FormatNoteViewController: UIViewController { textView.translatesAutoresizingMaskIntoConstraints = false textView.backgroundColor = .systemBackground textView.layer.cornerRadius = 12 + textView.layer.borderWidth = 0.5 + textView.layer.borderColor = UIColor.separator.cgColor textView.layer.masksToBounds = true textView.font = UIFont.preferredFont(forTextStyle: .body) textView.textContainerInset = UIEdgeInsets(top: 12, left: 12, bottom: 12, right: 12)