Commit 6fceeeb1 authored by Ronan's avatar Ronan
Browse files

fix(InvertedMouseArea): rename `p` in `root`

parent 7fe0ab96
......@@ -18,13 +18,13 @@ Item {
_mouseArea.parent = (function () {
// Search root.
var p = item
var root = item
while (p.parent != null) {
p = p.parent
while (root.parent != null) {
root = root.parent
}
return p
return root
})()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment