mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Merge remote-tracking branch 'origin/tracking' into custom
This commit is contained in:
commit
8a8546f49f
12 changed files with 75 additions and 17 deletions
|
|
@ -10,11 +10,15 @@
|
|||
function paintListener(event) {
|
||||
if (event.target != window)
|
||||
return;
|
||||
var eventRect =
|
||||
[ event.boundingClientRect.left,
|
||||
event.boundingClientRect.top,
|
||||
event.boundingClientRect.right,
|
||||
event.boundingClientRect.bottom ];
|
||||
var clientRect = event.boundingClientRect;
|
||||
var eventRect;
|
||||
if (clientRect) {
|
||||
eventRect =
|
||||
[ clientRect.left, clientRect.top,
|
||||
clientRect.right, clientRect.bottom ];
|
||||
} else {
|
||||
eventRect = [ 0, 0, 0, 0 ];
|
||||
}
|
||||
if (debug) {
|
||||
dump("got MozAfterPaint: " + eventRect.join(",") + "\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue