未验证 提交 6c49bbf9 编写于 作者: A Alex Dima

Move out layer breaking class names

上级 88bcf236
......@@ -20,7 +20,7 @@ export class HoverWidget extends Disposable {
super();
this.containerDomNode = document.createElement('div');
this.containerDomNode.classList.add('terminal-hover-widget', 'fadeIn', 'monaco-hover', 'xterm-hover');
this.containerDomNode.className = 'monaco-hover';
this.containerDomNode.tabIndex = 0;
this.containerDomNode.setAttribute('role', 'tooltip');
......
......@@ -46,6 +46,7 @@ export class HoverWidget extends Widget {
super();
this._hover = this._register(new BaseHoverWidget());
this._hover.containerDomNode.classList.add('terminal-hover-widget', 'fadeIn', 'xterm-hover');
// Don't allow mousedown out of the widget, otherwise preventDefault will call and text will
// not be selected.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册