mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-28 01:25:39 -05:00
Remove calls to DOM.addClass and DOM.removeClass (#13063)
This commit is contained in:
@@ -289,7 +289,7 @@ export class GuidedTour extends Disposable {
|
||||
firstTourElement.classList.add('ads-tour-show');
|
||||
this._overlay.style.display = 'block';
|
||||
const workbench = document.querySelector('.monaco-workbench') as HTMLElement;
|
||||
dom.addClass(workbench, 'blur-background');
|
||||
workbench.classList.add('blur-background');
|
||||
this._overlayVisible.set(true);
|
||||
this._overlay.focus();
|
||||
}
|
||||
@@ -306,7 +306,7 @@ export class GuidedTour extends Disposable {
|
||||
if (this._overlay.style.display !== 'none') {
|
||||
this._overlay.style.display = 'none';
|
||||
const workbench = document.querySelector('.monaco-workbench') as HTMLElement;
|
||||
dom.removeClass(workbench, 'blur-background');
|
||||
workbench.classList.remove('blur-background');
|
||||
this._overlayVisible.reset();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user