Typo
This commit is contained in:
parent
5c678f52f1
commit
34c8daadc4
|
@ -33,7 +33,7 @@ const setPosition = (wrapperEl, editorEl, selectedEl) => {
|
||||||
editorEl.style.bottom = `${containerHeight - annotationTop}px`;
|
editorEl.style.bottom = `${containerHeight - annotationTop}px`;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if vertical flipp helped, push down if not
|
// Check if vertical flip helped, push down if not
|
||||||
const currentOrientation = editorEl.children[1].getBoundingClientRect();
|
const currentOrientation = editorEl.children[1].getBoundingClientRect();
|
||||||
if (currentOrientation.top < 0) {
|
if (currentOrientation.top < 0) {
|
||||||
editorEl.style.top = `${-containerBounds.top}px`;
|
editorEl.style.top = `${-containerBounds.top}px`;
|
||||||
|
|
Loading…
Reference in New Issue