fix: user selection

deps: upgrade to latest revue-draggable
This commit is contained in:
Braks
2021-07-15 23:32:58 +02:00
parent c7fda830a6
commit 2f93c917e0
8 changed files with 493 additions and 241 deletions
+2 -3
View File
@@ -30,13 +30,12 @@ const SelectionRect = defineComponent({
return null;
}
console.log('selectionrect');
return () => (
<div
class="revue-flow__selection"
style={{
width: store?.userSelectionRect.width,
height: store?.userSelectionRect.height,
width: `${store?.userSelectionRect.width}px`,
height: `${store?.userSelectionRect.height}px`,
transform: `translate(${store?.userSelectionRect.x}px, ${store?.userSelectionRect.y}px)`
}}
/>