diff --git a/apps/remix-ide/src/app/plugins/solidity-umlgen.tsx b/apps/remix-ide/src/app/plugins/solidity-umlgen.tsx index bea0441e0b..be69e02b1f 100644 --- a/apps/remix-ide/src/app/plugins/solidity-umlgen.tsx +++ b/apps/remix-ide/src/app/plugins/solidity-umlgen.tsx @@ -37,6 +37,11 @@ const themeCollection = [ type ThemeQualityType = { name: string, quality: 'light' | 'dark', url: string } +/** + * add context menu which will offer download as pdf and download png. + * add menu under the first download button to download + */ + export class SolidityUmlGen extends ViewPlugin implements ISolidityUmlGen { element: HTMLDivElement currentFile: string diff --git a/libs/remix-ui/solidity-uml-gen/src/lib/solidity-uml-gen.tsx b/libs/remix-ui/solidity-uml-gen/src/lib/solidity-uml-gen.tsx index a62a64fc8b..149beddbea 100644 --- a/libs/remix-ui/solidity-uml-gen/src/lib/solidity-uml-gen.tsx +++ b/libs/remix-ui/solidity-uml-gen/src/lib/solidity-uml-gen.tsx @@ -111,14 +111,17 @@ export function RemixUiSolidityUmlGen ({ plugin, updatedSvg, loading, themeSelec