Skip to content

Commit 3cb8d0b

Browse files
committedJun 16, 2024·
fix(overlay): change panel visible on toggle
1 parent 7759471 commit 3cb8d0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎packages/overlay/src/App.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ const vueInspector = ref()
5555
5656
onDevToolsConnected(() => {
5757
const rpcServer = getRpcServer<typeof functions>()
58-
rpcServer.broadcast.on('toggle-panel', (state = !panelVisible) => {
59-
togglePanelVisible(state)
58+
rpcServer.functions.on('toggle-panel', (state = !panelVisible) => {
59+
togglePanelVisible(undefined, state)
6060
})
6161
devtools.ctx.api.getVueInspector().then((inspector) => {
6262
vueInspector.value = inspector

0 commit comments

Comments
 (0)
Please sign in to comment.