mirror of
https://github.com/MarcZierle/photo-log-frontend.git
synced 2025-04-11 22:54:38 +00:00
temporarily change cropper stencil back to rectangle
This commit is contained in:
parent
82cd293f59
commit
d3e44220c7
@ -4,7 +4,7 @@
|
|||||||
<cropper
|
<cropper
|
||||||
class="cropper"
|
class="cropper"
|
||||||
:src="snap_to_inters ? srcImageIntersections : src"
|
:src="snap_to_inters ? srcImageIntersections : src"
|
||||||
:stencil-component="this.$options.components.FreeSnapStencil"
|
:stencil-component="this.$options.components.RectangleStencil"
|
||||||
:stencil-props="stencilProps"
|
:stencil-props="stencilProps"
|
||||||
:auto-zoom="true"
|
:auto-zoom="true"
|
||||||
@change="change"
|
@change="change"
|
||||||
@ -35,7 +35,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {Cropper} from 'vue-advanced-cropper'
|
import {Cropper, RectangleStencil} from 'vue-advanced-cropper'
|
||||||
import FreeSnapStencil from '../components/FreeSnapStencil.vue'
|
import FreeSnapStencil from '../components/FreeSnapStencil.vue'
|
||||||
import 'vue-advanced-cropper/dist/style.css'
|
import 'vue-advanced-cropper/dist/style.css'
|
||||||
|
|
||||||
@ -45,6 +45,7 @@ export default {
|
|||||||
components: {
|
components: {
|
||||||
Cropper,
|
Cropper,
|
||||||
FreeSnapStencil,
|
FreeSnapStencil,
|
||||||
|
RectangleStencil
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
src: {
|
src: {
|
||||||
|
Loading…
Reference in New Issue
Block a user