Removed debug messages
This commit is contained in:
parent
b33819ed35
commit
cd5f676ec0
|
@ -23,11 +23,8 @@ const setPosition = (wrapperEl, editorEl, selectedEl) => {
|
|||
editorEl.style.left = `${right - defaultOrientation.width + scrollX - containerBounds.left}px`;
|
||||
}
|
||||
|
||||
console.log(defaultOrientation.bottom, window.innerHeight)
|
||||
|
||||
if (defaultOrientation.bottom + scrollY > window.innerHeight) {
|
||||
// Flip vertically
|
||||
console.log('flipping');
|
||||
const annotationTop = top + scrollY; // Annotation bottom relative to parents
|
||||
const containerHeight = containerBounds.bottom + scrollY;
|
||||
|
||||
|
|
Loading…
Reference in New Issue