temporarily change cropper stencil back to rectangle

This commit is contained in:
MarcZierle 2022-05-04 18:52:40 +02:00
parent 82cd293f59
commit d3e44220c7

View File

@ -4,7 +4,7 @@
<cropper
class="cropper"
:src="snap_to_inters ? srcImageIntersections : src"
:stencil-component="this.$options.components.FreeSnapStencil"
:stencil-component="this.$options.components.RectangleStencil"
:stencil-props="stencilProps"
:auto-zoom="true"
@change="change"
@ -35,7 +35,7 @@
</template>
<script>
import {Cropper} from 'vue-advanced-cropper'
import {Cropper, RectangleStencil} from 'vue-advanced-cropper'
import FreeSnapStencil from '../components/FreeSnapStencil.vue'
import 'vue-advanced-cropper/dist/style.css'
@ -45,6 +45,7 @@ export default {
components: {
Cropper,
FreeSnapStencil,
RectangleStencil
},
props: {
src: {