Add getContainer to popup
This commit is contained in:
parent
4ba93b0770
commit
c4719cb7f4
@ -22,7 +22,7 @@ class Frontend extends TextScanner {
|
||||
super(
|
||||
window,
|
||||
ignoreNodes,
|
||||
[popup.container],
|
||||
[popup.getContainer()],
|
||||
[(x, y) => this.popup.containsPoint(x, y)]
|
||||
);
|
||||
|
||||
|
@ -135,6 +135,10 @@ class Popup {
|
||||
}
|
||||
}
|
||||
|
||||
getContainer() {
|
||||
return this.container;
|
||||
}
|
||||
|
||||
getContainerRect() {
|
||||
return this.container.getBoundingClientRect();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user