mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-23 06:38:07 +00:00
fix(InvertedMouseArea): rename p in root
This commit is contained in:
parent
7fe0ab9608
commit
6fceeeb12e
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
})()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue