mirror of
https://github.com/enso-org/enso.git
synced 2024-11-10 12:48:25 +03:00
f2651d58e4
- Closes #7916 # Important Notes None
26 lines
712 B
Vue
26 lines
712 B
Vue
<script setup lang="ts">
|
|
import SelectionBrush from '@/components/SelectionBrush.vue'
|
|
import SelectionBrushWrapper from './SelectionBrushWrapper.vue'
|
|
</script>
|
|
|
|
<template>
|
|
<Story
|
|
title="Selection Brush"
|
|
group="graph"
|
|
:layout="{ type: 'single', iframe: false }"
|
|
responsiveDisabled
|
|
autoPropsDisabled
|
|
>
|
|
<SelectionBrushWrapper>
|
|
<template #default="{ scaledMousePos, scaledSelectionAnchor, navigator }">
|
|
<SelectionBrush
|
|
v-if="scaledMousePos"
|
|
:position="scaledMousePos"
|
|
:anchor="scaledSelectionAnchor"
|
|
:style="{ transform: navigator.prescaledTransform }"
|
|
/>
|
|
</template>
|
|
</SelectionBrushWrapper>
|
|
</Story>
|
|
</template>
|