8000 Close panel and resize editor on disconnect · arduino/lab-micropython-editor@301b04e · GitHub
[go: up one dir, main page]

Skip to content

Commit 301b04e

Browse files
committed
Close panel and resize editor on disconnect
1 parent 1d75277 commit 301b04e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/arduino/store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function store(state, emitter) {
6565
state.serialPath = null
6666
state.isTerminalOpen = false
6767
state.serialFiles = []
68-
emitter.emit('render')
68+
emitter.emit('close-panel')
6969
})
7070
emitter.on('connect', async (path) => {
7171
log('connect')

0 commit comments

Comments
 (0)
0