Skip to content

Commit

Permalink
#3041 update implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
StarlaStarla committed Oct 13, 2023
1 parent 2711c70 commit 132a6ab
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export const RNAContextMenu = () => {
const dispatch = useAppDispatch();
const activePreset = useAppSelector(selectActivePreset);
const RNAMenus = [
{ name: 'duplicateandedit', title: 'Duplicate and Edit' },
{ name: 'edit', title: 'Edit', seperator: true },
{ name: 'duplicateandedit', title: 'Duplicate and Edit...' },
{ name: 'edit', title: 'Edit...', seperator: true },
{ name: 'deletepreset', title: 'Delete Preset' },
];

Expand Down Expand Up @@ -57,5 +57,9 @@ export const RNAContextMenu = () => {
return items;
};

return <Menu id={CONTEXT_MENU_ID.FOR_RNA}>{assembleMenuItems()}</Menu>;
return (
<Menu style={{ minWidth: '160px' }} id={CONTEXT_MENU_ID.FOR_RNA}>
{assembleMenuItems()}
</Menu>
);
};

0 comments on commit 132a6ab

Please sign in to comment.