From 44d1132f36a9cdbabfe914d86d86eeffdc056972 Mon Sep 17 00:00:00 2001 From: Martin Green Date: Fri, 5 Jan 2018 20:17:36 +0200 Subject: [PATCH 1/2] Describe event propagation behavior in more detail --- learning/features/inputs/inputevent.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/learning/features/inputs/inputevent.rst b/learning/features/inputs/inputevent.rst index 435c7e1f0..d193a6e87 100644 --- a/learning/features/inputs/inputevent.rst +++ b/learning/features/inputs/inputevent.rst @@ -41,7 +41,11 @@ received input, in order: "input_event" will be emitted (this function is re-implementable by script by inheriting from it). If the control wants to "consume" the event, it will call :ref:`Control.accept_event() ` and the event will - not spread any more. + not spread any more. Events that are not consumed will propagate **up**, + to :ref:`Control `'s ancestors. Use :ref:`Control.mouse_filter ` + property to control whether a :ref:`Control ` is notified + of mouse events via :ref:`Control._gui_input() ` + callback, and whether these events are propagated further. 3. If so far no one consumed the event, the unhandled input callback will be called if overriden (and not disabled with :ref:`Node.set_process_unhandled_input() `). From d0a018cb3a3ed42299c8bb07e55073637573cf17 Mon Sep 17 00:00:00 2001 From: Martin Green Date: Sat, 6 Jan 2018 15:00:30 +0200 Subject: [PATCH 2/2] Add `.vscode/` to ignored paths --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index b2ed281ea..316f7d4d4 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ __pycache__ *.pyc *~ .directory +.vscode/ # Finder (MacOS) makes these automatically. .DS_Store