before refs refactor

This commit is contained in:
Jan Prochazka
2020-12-27 09:39:58 +01:00
parent 370412ea1d
commit 891a0a99e4
2 changed files with 52 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ export default class DomTableRef {
return {
left: rect.left - wrap.left,
top: rect.top - wrap.top,
right: rect.right - wrap.left,
bottom: rect.bottom - wrap.top,
};
}