Skip to content

Commit 9efd384

Browse files
authored
Merge 794ad37 into d24a391
2 parents d24a391 + 794ad37 commit 9efd384

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

Diff for: arduino-ide-extension/src/browser/monitor-model.ts

-24
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ export class MonitorModel implements FrontendApplicationContribution {
8888
set autoscroll(autoscroll: boolean) {
8989
if (autoscroll === this._autoscroll) return;
9090
this._autoscroll = autoscroll;
91-
this.monitorManagerProxy.changeSettings({
92-
monitorUISettings: { autoscroll },
93-
});
9491
this.storeState().then(() => {
9592
this.onChangeEmitter.fire({
9693
property: 'autoscroll',
@@ -110,9 +107,6 @@ export class MonitorModel implements FrontendApplicationContribution {
110107
set timestamp(timestamp: boolean) {
111108
if (timestamp === this._timestamp) return;
112109
this._timestamp = timestamp;
113-
this.monitorManagerProxy.changeSettings({
114-
monitorUISettings: { timestamp },
115-
});
116110
this.storeState().then(() =>
117111
this.onChangeEmitter.fire({
118112
property: 'timestamp',
@@ -132,9 +126,6 @@ export class MonitorModel implements FrontendApplicationContribution {
132126
set lineEnding(lineEnding: MonitorModel.EOL) {
133127
if (lineEnding === this._lineEnding) return;
134128
this._lineEnding = lineEnding;
135-
this.monitorManagerProxy.changeSettings({
136-
monitorUISettings: { lineEnding },
137-
});
138129
this.storeState().then(() =>
139130
this.onChangeEmitter.fire({
140131
property: 'lineEnding',
@@ -150,9 +141,6 @@ export class MonitorModel implements FrontendApplicationContribution {
150141
set interpolate(interpolate: boolean) {
151142
if (interpolate === this._interpolate) return;
152143
this._interpolate = interpolate;
153-
this.monitorManagerProxy.changeSettings({
154-
monitorUISettings: { interpolate },
155-
});
156144
this.storeState().then(() =>
157145
this.onChangeEmitter.fire({
158146
property: 'interpolate',
@@ -168,9 +156,6 @@ export class MonitorModel implements FrontendApplicationContribution {
168156
set darkTheme(darkTheme: boolean) {
169157
if (darkTheme === this._darkTheme) return;
170158
this._darkTheme = darkTheme;
171-
this.monitorManagerProxy.changeSettings({
172-
monitorUISettings: { darkTheme },
173-
});
174159
this.onChangeEmitter.fire({
175160
property: 'darkTheme',
176161
value: this._darkTheme,
@@ -184,9 +169,6 @@ export class MonitorModel implements FrontendApplicationContribution {
184169
set wsPort(wsPort: number) {
185170
if (wsPort === this._wsPort) return;
186171
this._wsPort = wsPort;
187-
this.monitorManagerProxy.changeSettings({
188-
monitorUISettings: { wsPort },
189-
});
190172
this.onChangeEmitter.fire({
191173
property: 'wsPort',
192174
value: this._wsPort,
@@ -200,9 +182,6 @@ export class MonitorModel implements FrontendApplicationContribution {
200182
set serialPort(serialPort: string) {
201183
if (serialPort === this._serialPort) return;
202184
this._serialPort = serialPort;
203-
this.monitorManagerProxy.changeSettings({
204-
monitorUISettings: { serialPort },
205-
});
206185
this.storeState().then(() =>
207186
this.onChangeEmitter.fire({
208187
property: 'serialPort',
@@ -218,9 +197,6 @@ export class MonitorModel implements FrontendApplicationContribution {
218197
set connected(connected: boolean) {
219198
if (connected === this._connected) return;
220199
this._connected = connected;
221-
this.monitorManagerProxy.changeSettings({
222-
monitorUISettings: { connected },
223-
});
224200
this.onChangeEmitter.fire({
225201
property: 'connected',
226202
value: this._connected,

0 commit comments

Comments
 (0)