Fix lint, split up namespace and interface

This commit is contained in:
Daniel Imms
2026-01-30 06:21:15 -08:00
parent b58bd452af
commit f80dbf3d03
19 changed files with 148 additions and 148 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
*/
import { ICoreBrowserService } from './Services';
import { Emitter, Event } from 'common/Event';
import { Emitter, EventUtils } from 'common/Event';
import { addDisposableListener } from 'vs/base/browser/dom';
import { Disposable, MutableDisposable, toDisposable } from 'common/Lifecycle';
@@ -29,7 +29,7 @@ export class CoreBrowserService extends Disposable implements ICoreBrowserServic
// Monitor device pixel ratio
this._register(this.onWindowChange(w => this._screenDprMonitor.setWindow(w)));
this._register(Event.forward(this._screenDprMonitor.onDprChange, this._onDprChange));
this._register(EventUtils.forward(this._screenDprMonitor.onDprChange, this._onDprChange));
this._register(addDisposableListener(this._textarea, 'focus', () => this._isFocused = true));
this._register(addDisposableListener(this._textarea, 'blur', () => this._isFocused = false));