File tree 1 file changed +2
-6
lines changed 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
1
import { BlockInfo , EditorView } from '@codemirror/view' ;
2
- import {
3
- gutter as gutterRS ,
4
- GutterMarker as GutterMarkerRS ,
5
- highlightActiveLineGutter as highlightActiveLineGutterRS ,
6
- } from 'codecrafters-frontend/utils/code-mirror-gutter-rs' ;
2
+ import { gutter as gutterRS , GutterMarker as GutterMarkerRS } from 'codecrafters-frontend/utils/code-mirror-gutter-rs' ;
7
3
import { expandedLineNumbersCompartment , expandedLineNumbersFacet , lineDataFacet } from 'codecrafters-frontend/utils/code-mirror-line-comments' ;
8
4
9
5
class CommentsCountGutterMarker extends GutterMarkerRS {
@@ -60,6 +56,7 @@ const lineCommentsGutterBaseTheme = EditorView.baseTheme({
60
56
'.cm-lineCommentsGutter' : {
61
57
minWidth : '24px' ,
62
58
textAlign : 'center' ,
59
+ userSelect : 'none' ,
63
60
64
61
'& .cm-gutterElement' : {
65
62
cursor : 'pointer' ,
@@ -117,7 +114,6 @@ export function lineCommentsGutter() {
117
114
} ,
118
115
} ,
119
116
} ) ,
120
- highlightActiveLineGutterRS ( ) ,
121
117
lineCommentsGutterBaseTheme ,
122
118
] ;
123
119
}
You can’t perform that action at this time.
0 commit comments