Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat: add disable cursor in edgeless toolbar

QiShaoXuane729effcd8e6
diff --git a/packages/app/src/components/edgeless-toolbar/style.ts b/packages/app/src/components/edgeless-toolbar/style.ts
index e8f0e26ef3..0b3a6d0b82 100644
--- a/packages/app/src/components/edgeless-toolbar/style.ts
+++ b/packages/app/src/components/edgeless-toolbar/style.ts
@@ -27,7 +27,7 @@ export const StyledToolbarItem = styled.div<{
height: '36px',
...displayFlex('center', 'center'),
color: disable ? theme.colors.disableColor : theme.colors.iconColor,
- cursor: 'pointer',
+ cursor: disable ? 'not-allowed' : 'pointer',
svg: {
width: '36px',
height: '36px',