mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 19:24:11 +01:00
@@ -1111,7 +1111,7 @@ var Buffer = Module("Buffer", {
|
|||||||
: rect => rect.top;
|
: rect => rect.top;
|
||||||
|
|
||||||
let elems = Array.from(path.matcher(this.focusedFrame.document),
|
let elems = Array.from(path.matcher(this.focusedFrame.document),
|
||||||
elem => [e, distance(e.getBoundingClientRect())])
|
elem => [elem, distance(elem.getBoundingClientRect())])
|
||||||
.filter(([elem, dist]) => dist > FUDGE)
|
.filter(([elem, dist]) => dist > FUDGE)
|
||||||
.sort((a, b) => a[1] - b[1]);
|
.sort((a, b) => a[1] - b[1]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user