fix(resize-rotate-node): apply rotation correctly
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user