Skip to content

Commit a7cdc1e

Browse files
authored
Merge pull request microsoft#200982 from microsoft/tyriar/200409
Ensure element is available when attaching mouse wheel zoom
2 parents b2b7df7 + cd79ced commit a7cdc1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/terminalContrib/mouseWheelZoom/browser/terminal.mouseWheelZoom.contribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class TerminalMouseWheelZoomContribution extends Disposable implements ITerminal
4040
super();
4141
}
4242

43-
xtermReady(xterm: IXtermTerminal & { raw: RawXtermTerminal }): void {
43+
xtermOpen(xterm: IXtermTerminal & { raw: RawXtermTerminal }): void {
4444
this._register(Event.runAndSubscribe(this._configurationService.onDidChangeConfiguration, e => {
4545
if (!e || e.affectsConfiguration(TerminalSettingId.MouseWheelZoom)) {
4646
if (!!this._configurationService.getValue(TerminalSettingId.MouseWheelZoom)) {

0 commit comments

Comments
 (0)