Invert pinned and dots icon buttons in command menu items edit mode (#19717)

## Before
<img width="804" height="158" alt="CleanShot 2026-04-15 at 14 22 22@2x"
src="https://github.com/user-attachments/assets/65c4d4f1-6f17-47e2-b964-f3b7132d2f18"
/>

## After
<img width="804" height="168" alt="CleanShot 2026-04-15 at 14 21 38@2x"
src="https://github.com/user-attachments/assets/2f1d4fff-5f07-4df0-833e-129ad85391a9"
/>
This commit is contained in:
Raphaël Bosi
2026-04-15 14:38:52 +02:00
committed by GitHub
parent e12b55a951
commit 7956ecc7b2
@@ -272,6 +272,11 @@ export const SidePanelCommandMenuItemEditPage = () => {
gripMode="onHover"
isIconDisplayedOnHoverOnly={false}
iconButtons={[
{
Icon: IconDotsVertical,
Wrapper: makeOptionsDropdownWrapper(item),
onClick: () => {},
},
{
Icon: IconPinnedOff,
onClick: (event) => {
@@ -279,11 +284,6 @@ export const SidePanelCommandMenuItemEditPage = () => {
handleTogglePin(item.id, true);
},
},
{
Icon: IconDotsVertical,
Wrapper: makeOptionsDropdownWrapper(item),
onClick: () => {},
},
]}
/>
</SelectableListItem>