mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-10-16 23:08:32 +00:00
🤞 finalized the monitor UI
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
@@ -95,12 +95,12 @@ export class MonitorConnection {
|
||||
}
|
||||
});
|
||||
// Handles the `baudRate` changes by reconnecting if required.
|
||||
this.monitorModel.onChange(() => {
|
||||
if (this.autoConnect && this.connected) {
|
||||
this.monitorModel.onChange(({ property }) => {
|
||||
if (property === 'baudRate' && this.autoConnect && this.connected) {
|
||||
const { boardsConfig } = this.boardsServiceClient;
|
||||
this.handleBoardConfigChange(boardsConfig);
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
get connected(): boolean {
|
||||
|
Reference in New Issue
Block a user