no-bug: Support glane right click event register (gh-13379)

This commit is contained in:
mr. m
2026-04-23 20:00:57 +02:00
committed by GitHub
parent 5a841063f2
commit 0dd99a2ec7
2 changed files with 4 additions and 1 deletions

View File

@@ -50,6 +50,9 @@ export class ZenGlanceChild extends JSWindowActorChild {
#sendClickDataToParent(node, originalTarget) {
if (!node) {
node = originalTarget;
}
if (!node?.getBoundingClientRect) {
return;
}
// Get the largest element we can get. If the `A` element