refactor(resize-rotate): set fixed styles on resize rotate node
This commit is contained in:
@@ -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%',
|
||||
|
||||
Reference in New Issue
Block a user