提交 2803a865 编写于 作者: B Benjamin Pasero

labels - disable visibility for now

上级 6bbf94c2
......@@ -240,14 +240,14 @@ class ResourceLabelWidget extends IconLabel {
}
notifyVisibilityChanged(visible: boolean): void {
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.isHidden) {
// this.isHidden = !visible;
// if (visible && this.needsRedraw) {
// this.render(this.needsRedraw === Redraw.Basic ? false : true);
// this.needsRedraw = void 0;
// }
// }
}
notifyModelModeChanged(e: { model: ITextModel; oldModeId: string; }): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册