fix(resize-rotate-node): apply rotation correctly

This commit is contained in:
bcakmakoglu
2022-06-01 19:10:30 +02:00
committed by Braks
parent 29439f005b
commit 4f506b6e56
@@ -68,12 +68,11 @@ export default {
<Handle type="source" :position="props.sourcePosition" /> <Handle type="source" :position="props.sourcePosition" />
</div> </div>
<Moveable <Moveable
v-if="visible"
class-name="nodrag" class-name="nodrag"
:style="visible ? '' : 'display: none !important'"
:target="[`[data-moveable-id='${props.id}']`]" :target="[`[data-moveable-id='${props.id}']`]"
:resizable="true" :resizable="true"
:rotatable="true" :rotatable="true"
:throttle-rotate="0"
rotation-position="top" rotation-position="top"
:padding="{ left: 0, top: 0, right: 0, bottom: 0 }" :padding="{ left: 0, top: 0, right: 0, bottom: 0 }"
:origin="false" :origin="false"