refactor(resize-rotate): set fixed styles on resize rotate node

This commit is contained in:
braks
2022-08-30 22:16:10 +02:00
committed by Braks
parent dd62165443
commit 5f5dd49ed6
5 changed files with 107 additions and 56 deletions
+3 -4
View File
@@ -29,12 +29,11 @@ const onPaneReady = (store: VueFlowStore) => {
</script>
<template>
<div style="height: 100%; color: black">
{{ extent }}
<div style="height: 100%">
<VueFlow
v-model="elements"
class="vue-flow-basic-example"
snap-to-grid
:snap-to-grid="true"
:snap-grid="[10, 10]"
:prevent-scrolling="false"
:zoom-on-scroll="false"
@@ -64,7 +63,7 @@ const onPaneReady = (store: VueFlowStore) => {
html,
body,
#root {
height: 1024px;
height: 100%;
width: 100%;
margin: 0;
font-family: 'JetBrains Mono', monospace;
@@ -11,10 +11,6 @@ export default [
x: 0,
y: 0,
},
dragHandle: `[data-moveable-id='1']`,
style: {
cursor: 'default',
},
data: {
style: {
background: 'rgb(255, 0, 114) none repeat scroll 0% 0%',