File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 11/// <reference types="vite/client" />
22/// <reference lib="dom" />
33
4- import type { DockPanelStorage } from '../webcomponents '
4+ import type { DockPanelStorage } from '@vitejs/devtools-kit/client '
55import { getDevToolsRpcClient } from '@vitejs/devtools-kit/client'
66import { useLocalStorage } from '@vueuse/core'
77import { createDocksContext } from '../webcomponents'
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ function bringUp() {
7878
7979const { width : frameWidth, height : frameHeight } = useElementBounding (dockPanel )
8080
81- const iframeStyle = computed (() => {
81+ const panelStyle = computed (() => {
8282 // eslint-disable-next-line no-sequences, ts/no-unused-expressions
8383 mousePosition .x , mousePosition .y
8484
@@ -162,14 +162,12 @@ onMounted(() => {
162162
163163<template >
164164 <div
165- v-show =" context.docks.selected"
165+ v-show =" context.docks.selected && context.docks.selected.type === 'action' "
166166 ref =" dockPanel"
167167 class =" bg-glass rounded-lg border border-base shadow"
168- :style =" iframeStyle "
168+ :style =" panelStyle "
169169 >
170- <DockPanelResizer
171- :panel =" context.panel"
172- />
170+ <DockPanelResizer :panel =" context.panel" />
173171 <ViewEntry
174172 v-if =" selected && viewsContainer"
175173 :key =" selected.id"
You can’t perform that action at this time.
0 commit comments