Skip to content

Commit 080f0cc

Browse files
committed
Fixed issue where reformatting guide was not allowing text view to get focus when switching away from the find panel.
1 parent 9abe5ae commit 080f0cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/CodeEditSourceEditor/ReformattingGuide/ReformattingGuideView.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ class ReformattingGuideView: NSView {
2828
fatalError("init(coder:) has not been implemented")
2929
}
3030

31+
override func hitTest(_ point: NSPoint) -> NSView? {
32+
return nil
33+
}
34+
3135
// Draw the reformatting guide line and shaded area
3236
override func draw(_ dirtyRect: NSRect) {
3337
super.draw(dirtyRect)

0 commit comments

Comments
 (0)