Skip to content

Commit 7a21300

Browse files
committed
Remove Unnecessary Code
1 parent 7b2deea commit 7a21300

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Sources/CodeEditSourceEditor/Controller/TextViewController+LoadView.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ extension TextViewController {
122122
object: textView,
123123
queue: .main
124124
) { [weak self] _ in
125-
guard let scrollView = self?.scrollView else { return }
126125
self?.gutterView.frame.size.height = max(
127126
(self?.textView.frame.height ?? 0) + 10,
128127
(self?.scrollView.documentVisibleRect.height ?? 0.0) + (self?.scrollView.contentInsets.vertical ?? 0.0)

0 commit comments

Comments
 (0)