Minor bugfix

This commit is contained in:
Rainer Simon 2020-05-12 20:11:42 +02:00
parent 4825f3b21d
commit 2727b38c94
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ const Editor = props => {
if (element.current)
setPosition(props.wrapperEl, element.current, props.selectedElement);
}, [ props.selectedElement ]);
}, [ props.selectedElement.getBoundingClientRect() ]);
const onAppendBody = body => setCurrentAnnotation(
currentAnnotation.clone({