File tree 2 files changed +10
-17
lines changed
src/vs/workbench/contrib/notebook/browser/diff 2 files changed +10
-17
lines changed Original file line number Diff line number Diff line change @@ -186,23 +186,10 @@ class PropertyHeader extends Disposable {
186
186
187
187
const target = e . event . target as HTMLElement ;
188
188
189
- if ( target . classList . contains ( 'codicon-notebook-collapsed' ) || target . classList . contains ( 'codicon-notebook-expanded' ) ) {
190
- const parent = target . parentElement as HTMLElement ;
191
-
192
- if ( ! parent ) {
193
- return ;
194
- }
195
-
196
- if ( ! parent . classList . contains ( this . accessor . prefix ) ) {
197
- return ;
198
- }
199
-
200
- if ( ! parent . classList . contains ( 'property-folding-indicator' ) ) {
201
- return ;
202
- }
203
-
204
- // folding icon
205
-
189
+ if ( target === this . propertyHeaderContainer ||
190
+ target === this . _foldingIndicator || this . _foldingIndicator . contains ( target ) ||
191
+ target === metadataStatus || metadataStatus . contains ( target )
192
+ ) {
206
193
const cellViewModel = e . target ;
207
194
208
195
if ( cellViewModel === this . cell ) {
Original file line number Diff line number Diff line change 129
129
align-items : center;
130
130
}
131
131
132
+ .notebook-text-diff-editor .cell-diff-editor-container .input-header-container ,
133
+ .notebook-text-diff-editor .cell-diff-editor-container .output-header-container ,
134
+ .notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container {
135
+ cursor : pointer;
136
+ }
137
+
132
138
.notebook-text-diff-editor .cell-diff-editor-container .input-header-container .property-toolbar ,
133
139
.notebook-text-diff-editor .cell-diff-editor-container .output-header-container .property-toolbar ,
134
140
.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .property-toolbar {
You can’t perform that action at this time.
0 commit comments