Commit 6fceeeb1 authored by Ronan Abhamon's avatar Ronan Abhamon

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

parent 7fe0ab96
...@@ -18,13 +18,13 @@ Item { ...@@ -18,13 +18,13 @@ Item {
_mouseArea.parent = (function () { _mouseArea.parent = (function () {
// Search root. // Search root.
var p = item var root = item
while (p.parent != null) { while (root.parent != null) {
p = p.parent 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