File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
pythonforandroid/recipes/android/src/android Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ def _on_touch_listener(cls, event):
149149 `__target_widget` that was provided to `register_listener(...)`.
150150 - Returns `True` (consume/intercept) only when the picked widget is
151151 exactly `__target_widget` and no other widget was found under the
152- touch (`final_widget is None`) . Otherwise returns `False`.
152+ touch. Otherwise returns `False`.
153153
154154 Important notes and limitations:
155155 - There is no filtering by MotionEvent action; all actions reaching
@@ -178,7 +178,6 @@ def _on_touch_listener(cls, event):
178178 # x, y are in Window coordinate. Try to select the widget under the
179179 # touch.
180180 me = None
181- final_widget = None
182181 for child in reversed (Window .children ):
183182 widget = cls ._pick (child , x , y )
184183 if not widget :
You can’t perform that action at this time.
0 commit comments