We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bab0664 commit db1fd29Copy full SHA for db1fd29
src/unfold.ts
@@ -210,8 +210,12 @@ export class DirTreeListing extends DirListing {
210
private async _eventDblClick(event: MouseEvent): Promise<void> {
211
const entry = this.modelForClick(event);
212
213
- if (entry?.type === 'directory' && !this._singleClickToUnfold) {
214
- this.model.toggle(entry.path);
+ if (entry?.type === 'directory') {
+ if (!this._singleClickToUnfold) {
215
+ this.model.toggle(entry.path);
216
+ }
217
+ } else {
218
+ super.handleEvent(event);
219
}
220
221
0 commit comments