mirror of https://github.com/logseq/logseq
fix: a minor style issue
parent
0a1d100587
commit
fb69e99a82
|
@ -137,16 +137,18 @@ export const Canvas = observer(function Renderer<S extends TLReactShape>({
|
|||
onEditingEnd={onEditingEnd}
|
||||
/>
|
||||
))}
|
||||
{!app.isIn('select.pinching') && selectedShapes?.map(shape => (
|
||||
<Indicator
|
||||
key={'selected_indicator_' + shape.id}
|
||||
shape={shape}
|
||||
isEditing={shape === editingShape}
|
||||
isHovered={false}
|
||||
isBinding={false}
|
||||
isSelected={true}
|
||||
/>
|
||||
))}
|
||||
{!app.isIn('select.pinching') &&
|
||||
selectedShapes?.length !== 1 &&
|
||||
selectedShapes?.map(shape => (
|
||||
<Indicator
|
||||
key={'selected_indicator_' + shape.id}
|
||||
shape={shape}
|
||||
isEditing={shape === editingShape}
|
||||
isHovered={false}
|
||||
isBinding={false}
|
||||
isSelected={true}
|
||||
/>
|
||||
))}
|
||||
{hoveredShape && app.isInAny('creating') && (
|
||||
<Indicator key={'hovered_indicator_' + hoveredShape.id} shape={hoveredShape} />
|
||||
)}
|
||||
|
|
Loading…
Reference in New Issue