Minor bugfix
This commit is contained in:
parent
4825f3b21d
commit
2727b38c94
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue