Skip to content

Commit 07433a6

Browse files
committed
Removed unneccessary logic for guideview in init.
1 parent 6680de6 commit 07433a6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Sources/CodeEditSourceEditor/Controller/TextViewController.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -344,12 +344,6 @@ public class TextViewController: NSViewController {
344344

345345
// Initialize guide view
346346
self.guideView = ReformattingGuideView(column: reformatAtColumn, isVisible: showReformattingGuide, theme: theme)
347-
if let guideView = self.guideView {
348-
guideView.wantsLayer = true
349-
guideView.layer?.zPosition = 1
350-
textView.addSubview(guideView)
351-
guideView.updatePosition(in: textView)
352-
}
353347

354348
coordinators.forEach {
355349
$0.prepareCoordinator(controller: self)

0 commit comments

Comments
 (0)