diff --git a/src/renderer/src/windows/selection/toolbar/SelectionToolbar.tsx b/src/renderer/src/windows/selection/toolbar/SelectionToolbar.tsx index 2dd0cd3f8b..07103f4c6b 100644 --- a/src/renderer/src/windows/selection/toolbar/SelectionToolbar.tsx +++ b/src/renderer/src/windows/selection/toolbar/SelectionToolbar.tsx @@ -227,7 +227,7 @@ const SelectionToolbar: FC<{ demo?: boolean }> = ({ demo = false }) => { return ( - + @@ -261,13 +261,13 @@ const Container = styled.div` box-sizing: border-box; ` -const LogoWrapper = styled.div` +const LogoWrapper = styled.div<{ $draggable: boolean }>` display: flex; align-items: center; justify-content: center; - -webkit-app-region: drag; margin-left: 5px; background-color: transparent; + ${({ $draggable }) => $draggable && ' -webkit-app-region: drag;'} ` const Logo = styled(Avatar)`