mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-18 15:33:52 +01:00
Improve plugin source modeling and runtime dedup (#414)
This commit is contained in:
@@ -896,9 +896,9 @@ function MenuItem({
|
||||
};
|
||||
|
||||
const rightSlot = item.submenu ? (
|
||||
<Icon icon="chevron_right" color='secondary' />
|
||||
<Icon icon="chevron_right" color="secondary" />
|
||||
) : (
|
||||
(item.rightSlot ?? <Hotkey action={item.hotKeyAction ?? null} />)
|
||||
(item.rightSlot ?? <Hotkey variant="text" action={item.hotKeyAction ?? null} />)
|
||||
);
|
||||
|
||||
return (
|
||||
@@ -937,7 +937,7 @@ function MenuItem({
|
||||
)}
|
||||
{...props}
|
||||
>
|
||||
<div className={classNames('truncate')}>{item.label}</div>
|
||||
<div className={classNames('truncate min-w-[5rem]')}>{item.label}</div>
|
||||
</Button>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user