Pārlūkot izejas kodu

Shows debug tree hovers with debug flag

main
Eric Amodio pirms 4 gadiem
vecāks
revīzija
c890af8d9c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/views/viewBase.ts

+ 1
- 1
src/views/viewBase.ts Parādīt failu

@ -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]);

Notiek ielāde…
Atcelt
Saglabāt