Skip to content

Commit

Permalink
update transformer config
Browse files Browse the repository at this point in the history
  • Loading branch information
nighca committed Jun 5, 2024
1 parent 2b1a5fe commit e467cc5
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
<template>
<v-transformer ref="transformer" :config="{ keepRatio: true, shouldOverdrawWholeArea: true }" />
<v-transformer
ref="transformer"
:config="{
keepRatio: true,
shouldOverdrawWholeArea: true,
rotateAnchorCursor: 'grab',
centeredScaling: true,
enabledAnchors: ['top-left', 'top-right', 'bottom-left', 'bottom-right'],
flipEnabled: false
}"
/>
</template>

<script setup lang="ts">
Expand Down

0 comments on commit e467cc5

Please sign in to comment.