mirror of
https://github.com/MarcZierle/photo-log-frontend.git
synced 2025-04-07 13:04:37 +00:00
temporarily change cropper stencil back to rectangle
This commit is contained in:
parent
82cd293f59
commit
d3e44220c7
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user