add zoom buttons to inspector view
This commit is contained in:
parent
05ddb41e94
commit
87bbe93e72
1 changed files with 33 additions and 30 deletions
|
@ -3,6 +3,7 @@ import { InspectorPattern } from './inspector/pattern.mjs'
|
|||
import { DraftMenu, ns as menuNs } from './menu.mjs'
|
||||
import { objUpdate } from 'shared/utils.mjs'
|
||||
import { ViewHeader } from '../view-header.mjs'
|
||||
import { PanZoomContextProvider } from 'shared/components/workbench/pattern/pan-zoom-context.mjs'
|
||||
|
||||
export const ns = menuNs
|
||||
|
||||
|
@ -66,8 +67,9 @@ export const InspectView = ({
|
|||
}
|
||||
|
||||
return (
|
||||
<PanZoomContextProvider>
|
||||
<div className="flex flex-col">
|
||||
<DraftViewHeader
|
||||
<ViewHeader
|
||||
{...{
|
||||
settings,
|
||||
ui,
|
||||
|
@ -98,5 +100,6 @@ export const InspectView = ({
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</PanZoomContextProvider>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue