File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Sources/CodeEditSourceEditor Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ extension TextViewController {
5858 styleScrollView ( )
5959 styleGutterView ( )
6060 styleMinimapView ( )
61-
61+
6262 // Set up
6363 setUpHighlighter ( )
6464 setUpTextFormation ( )
@@ -116,7 +116,7 @@ extension TextViewController {
116116 ) { [ weak self] notification in
117117 guard let clipView = notification. object as? NSClipView ,
118118 let textView = self ? . textView else { return }
119- self ? . textView. updatedViewport ( self ? . scrollView. documentVisibleRect ?? . zero)
119+ textView. updatedViewport ( self ? . scrollView. documentVisibleRect ?? . zero)
120120 self ? . gutterView. needsDisplay = true
121121 self ? . minimapXConstraint? . constant = clipView. bounds. origin. x
122122 }
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ public class MinimapView: FlippedNSView {
103103 separatorView. layer? . backgroundColor = isLightMode
104104 ? NSColor . black. withAlphaComponent ( 0.1 ) . cgColor
105105 : NSColor . white. withAlphaComponent ( 0.1 ) . cgColor
106-
106+
107107 super. init ( frame: . zero)
108108
109109 setUpPanGesture ( )
You can’t perform that action at this time.
0 commit comments