Skip to content

Commit 17da6bb

Browse files
authored
Fix(UI): Replace boolean submenu icon with PiIntersectSquareBold (#8962)
* change submenu icon to phosphor * Use PiIntersectSquareBold
1 parent b120ef5 commit 17da6bb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

invokeai/frontend/web/src/features/controlLayers/components/RasterLayer/RasterLayerMenuItemsBooleanSubMenu.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ import { rasterLayerGlobalCompositeOperationChanged } from 'features/controlLaye
99
import type { CanvasEntityIdentifier, CompositeOperation } from 'features/controlLayers/store/types';
1010
import { memo, useCallback } from 'react';
1111
import { useTranslation } from 'react-i18next';
12-
import { CgPathBack, CgPathCrop, CgPathExclude, CgPathFront, CgPathIntersect } from 'react-icons/cg';
12+
import { CgPathBack, CgPathExclude, CgPathFront, CgPathIntersect } from 'react-icons/cg';
13+
import { PiIntersectSquareBold } from 'react-icons/pi';
1314

1415
export const RasterLayerMenuItemsBooleanSubMenu = memo(() => {
1516
const { t } = useTranslation();
@@ -48,7 +49,7 @@ export const RasterLayerMenuItemsBooleanSubMenu = memo(() => {
4849
const disabled = isBusy || !entityIdentifierBelowThisOne;
4950

5051
return (
51-
<MenuItem {...subMenu.parentMenuItemProps} isDisabled={disabled} icon={<CgPathCrop size={18} />}>
52+
<MenuItem {...subMenu.parentMenuItemProps} isDisabled={disabled} icon={<PiIntersectSquareBold />}>
5253
<Menu {...subMenu.menuProps}>
5354
<MenuButton {...subMenu.menuButtonProps}>
5455
<SubMenuButtonContent label={t('controlLayers.booleanOps.label')} />

0 commit comments

Comments
 (0)