Skip to content

Commit 519f9bd

Browse files
committed
Makes LineSelectionView available on macOS only
1 parent 19da1bd commit 519f9bd

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
import Foundation
1+
#if os(macOS)
2+
import AppKit
23

3-
final class LineSelectionView: MultiPlatformView, ReusableView {}
4+
final class LineSelectionView: NSView, ReusableView {
5+
override func hitTest(_ point: NSPoint) -> NSView? {
6+
nil
7+
}
8+
}
9+
#endif

0 commit comments

Comments
 (0)