File size: 352 Bytes
bc20498
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
<script>import { useStore } from '../../store';
import { Selection } from '../Selection';
const { selectionRect, selectionRectMode } = useStore();
</script>

<Selection
  isVisible={!!($selectionRect && $selectionRectMode === 'user')}
  width={$selectionRect?.width}
  height={$selectionRect?.height}
  x={$selectionRect?.x}
  y={$selectionRect?.y}
/>