We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a8d47df + 31dcc19 commit 3792d24Copy full SHA for 3792d24
src/unfold.ts
@@ -348,12 +348,7 @@ export class DirTreeListing extends DirListing {
348
if (entry.type === 'directory') {
349
this.model.path = '/' + entry.path;
350
351
- if (
352
- this._singleClickToUnfold &&
353
- (event.button === 0 || // State toggled on main button
354
- (event.button === 2 && !this.model.isOpen(entry.path)) || // State toggled on right click if folder is closed
355
- event.type === 'click') // State toggled on click and double click
356
- ) {
+ if (this._singleClickToUnfold && event.button === 0) {
357
this.model.toggle(entry.path);
358
}
359
} else {
ui-tests/tests/jupyterlab-unfold.spec.ts-snapshots/open-file211-linux.png
29 Bytes
0 commit comments