Skip to content

Commit

Permalink
✨Temporarily hide some functions in AddPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
carefree0910 committed Jul 7, 2023
1 parent 34ad315 commit f01c159
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cfdraw/.web/src/_settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export const reactPluginSettings: IMakePlugin<ReactPlugins | "_python.pluginGrou
nodeConstraint: "none",
renderInfo: {
w: 256,
h: 244,
h: 190,
// h: 244,
offsetY: 120,
src: AddIcon,
tooltip: "add-new-stuff-tooltip",
Expand Down
4 changes: 2 additions & 2 deletions cfdraw/.web/src/plugins/_react/AddPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ const AddPlugin = ({ pluginInfo, ...props }: IPlugin) => {
}}
{...commonProps}
/>
<Popover>
{/* <Popover>
<PopoverTrigger>
<CFIconButton
src={AddNoliFrameIcon}
Expand All @@ -190,7 +190,7 @@ const AddPlugin = ({ pluginInfo, ...props }: IPlugin) => {
closePanel();
}}
{...commonProps}
/>
/> */}
<CFImageUploader onUpload={closePanel}>
<CFIconButton
src={AddImageIcon}
Expand Down

0 comments on commit f01c159

Please sign in to comment.