Skip to content
Snippets Groups Projects
Commit 26cbc550 authored by chris's avatar chris
Browse files

revert-change

parent 438ea780
No related branches found
No related tags found
1 merge request!364Feedback fill the gap
......@@ -282,7 +282,6 @@ const EditoriaLayout = ({ editor }) => {
</CommentTrackToolsContainer>
<RightArea area="main" />
</CommentsContainer>
<WaxOverlays />
</WaxSurfaceScroll>
{hasNotes && (
......@@ -298,7 +297,7 @@ const EditoriaLayout = ({ editor }) => {
</PanelGroup>
</EditorArea>
</Main>
<WaxOverlays />
<WaxBottomRightInfo>
<InfoContainer id="info-container">
<BottomRightInfo />
......
......@@ -33,15 +33,8 @@ export default options => {
const WaxSurface = focusedView.dom.getBoundingClientRect();
const start = focusedView.coordsAtPos(from);
const end = focusedView.coordsAtPos(to);
// const { left } = end;
// const top = end.top + 20;
// TEMP FIX
const parent = focusedView.dom.parentNode.getBoundingClientRect();
const { left } = end;
const top = parent.top + 20;
const top = end.top + 20;
return {
top,
left,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment