Add message for curv static image
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { MouseEventHandler, useContext } from 'react'
|
||||
import { MosaicWindowContext } from 'react-mosaic-component'
|
||||
import Svg from 'src/components/Svg/Svg'
|
||||
import OpenscadStaticImageMessage from 'src/components/OpenscadStaticImageMessage/OpenscadStaticImageMessage'
|
||||
import StaticImageMessage from 'src/components/StaticImageMessage/StaticImageMessage'
|
||||
|
||||
const PanelToolbar = ({
|
||||
panelName,
|
||||
@@ -19,7 +19,7 @@ const PanelToolbar = ({
|
||||
<div className="absolute inset-x-0 top-0 h-10 bg-gradient-to-b from-ch-gray-800 to-transparent" />
|
||||
)}
|
||||
<div className="absolute top-0 right-0 flex items-center h-9">
|
||||
{panelName === 'Viewer' && <OpenscadStaticImageMessage />}
|
||||
{panelName === 'Viewer' && <StaticImageMessage />}
|
||||
<button
|
||||
className={
|
||||
'bg-ch-gray-760 text-ch-gray-300 px-3 rounded-bl-lg h-full ' +
|
||||
|
||||
Reference in New Issue
Block a user