labels - disable visibility for now

pull/65461/head^2
Benjamin Pasero 2018-12-20 09:49:57 +01:00
parent 6bbf94c2f1
commit 2803a8655c
1 changed files with 7 additions and 7 deletions

View File

@ -240,14 +240,14 @@ class ResourceLabelWidget extends IconLabel {
}
notifyVisibilityChanged(visible: boolean): void {
if (visible === this.isHidden) {
this.isHidden = !visible;
// if (visible === this.isHidden) {
// this.isHidden = !visible;
if (visible && this.needsRedraw) {
this.render(this.needsRedraw === Redraw.Basic ? false : true);
this.needsRedraw = void 0;
}
}
// if (visible && this.needsRedraw) {
// this.render(this.needsRedraw === Redraw.Basic ? false : true);
// this.needsRedraw = void 0;
// }
// }
}
notifyModelModeChanged(e: { model: ITextModel; oldModeId: string; }): void {