Parcourir la source

Shows debug tree hovers with debug flag

main
Eric Amodio il y a 4 ans
Parent
révision
c890af8d9c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/views/viewBase.ts

+ 1
- 1
src/views/viewBase.ts Voir le fichier

@ -109,7 +109,7 @@ export abstract class ViewBase<
private readonly _lastKnownLimits = new Map<string, number | undefined>();
constructor(public readonly id: string, public readonly name: string) {
if (Logger.isDebugging) {
if (Logger.isDebugging || Container.config.debug) {
const getTreeItem = this.getTreeItem;
this.getTreeItem = async function (this: ViewBase<RootNode, ViewConfig>, node: ViewNode) {
const item = await getTreeItem.apply(this, [node]);

Chargement…
Annuler
Enregistrer