зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1076692 - OuterLayout should consume touch only when dragging is enabled. r=mcomella
--HG-- extra : rebase_source : cf5824e19d663cb8d8fc5887080c74f2011546ff
This commit is contained in:
Родитель
85e079584d
Коммит
6fcd0207db
|
@ -161,11 +161,11 @@ public class OuterLayout extends RelativeLayout {
|
|||
if (mDragHelper.shouldInterceptTouchEvent(event)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Because while open the target layout is translated and draghelper does not catch it.
|
||||
if (mIsOpen && mDragCallback.canInterceptEventWhileOpen(event)) {
|
||||
return true;
|
||||
// Because while open the target layout is translated and draghelper does not catch it.
|
||||
if (mIsOpen && mDragCallback.canInterceptEventWhileOpen(event)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче