File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ export class EnterAction {
130130 if (
131131 curNode instanceof BlockSvg ||
132132 curNode instanceof icons . Icon ||
133- curNode instanceof comments . CommentIcon ||
133+ curNode instanceof comments . CommentBarButton ||
134134 curNode instanceof comments . RenderedWorkspaceComment
135135 ) {
136136 return true ;
@@ -171,11 +171,10 @@ export class EnterAction {
171171 cursor ?. in ( ) ;
172172 } ) ;
173173 return true ;
174- } else if ( curNode instanceof comments . CommentIcon ) {
174+ } else if ( curNode instanceof comments . CommentBarButton ) {
175175 curNode . performAction ( ) ;
176176 return true ;
177177 } else if ( curNode instanceof comments . RenderedWorkspaceComment ) {
178- curNode . setEditable ( true ) ;
179178 curNode . setCollapsed ( false ) ;
180179 getFocusManager ( ) . focusNode ( curNode . getEditorFocusableNode ( ) ) ;
181180 return true ;
You can’t perform that action at this time.
0 commit comments