virtualx-engine/scene/gui
Gil Arasa Verge f144ec9e67 Clicking backgrd. dimming of editor popup stops input event propagation
A click on the dimmed background of a popup in the editor should stop the input event from propagating to the background.

This solution reuses the system introduced in commit efc3ffb8, taking advantage of the hide() notifications from the modal where we will set the flag "pass_on_modal_close_click(false)" to stop event handling at the viewport input event handling.
The viewport first hides the modal and after marks the input as handled if the flag mentioned above is set.

Fixes #36341

(cherry picked from commit 35bc88ca34)
2020-03-25 11:38:54 +01:00
..
base_button.cpp Fixes BaseButton not triggering the "pressed" signal on "Button Press" Action Mode 2020-01-09 02:17:53 +02:00
base_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
box_container.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
box_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
button.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
center_container.cpp Updates min size on CenterContainer::set_use_top_left 2020-01-14 08:35:21 +08:00
center_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
check_box.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
check_box.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
check_button.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
check_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
color_picker.cpp Fix hiding ColorPicker's presets not fully hiding its controls 2020-02-18 14:20:04 +01:00
color_picker.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
color_rect.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
color_rect.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
container.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
control.cpp Revert "Fix control node transform animation jitter with pivot offset" 2020-03-04 09:50:21 +01:00
control.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
dialogs.cpp Clicking backgrd. dimming of editor popup stops input event propagation 2020-03-25 11:38:54 +01:00
dialogs.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_dialog.cpp Improve UX of drive letters 2020-03-17 14:48:54 +01:00
file_dialog.h Improve UX of drive letters 2020-03-17 14:48:54 +01:00
gradient_edit.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
gradient_edit.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
graph_edit.cpp Fix scrollbar regression on large scales 2020-01-16 00:59:46 -03:00
graph_edit.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
graph_node.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
graph_node.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
grid_container.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
grid_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
item_list.cpp Don't allow to use too big index in ItemList 2020-01-14 20:17:48 +01:00
item_list.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
label.cpp Revert "make Label consider spaces for visible_characters" 2020-01-28 19:37:04 +01:00
label.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
line_edit.cpp Remove update condition from LineEdit::update_placeholder_width 2020-03-25 11:38:53 +01:00
line_edit.h Update cached_width of the line_edit element when setting it to be secret 2020-02-14 15:56:48 +01:00
link_button.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
link_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
margin_container.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
margin_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
menu_button.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
menu_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
nine_patch_rect.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
nine_patch_rect.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
option_button.cpp Fixes OptionButton min size 2020-02-06 13:02:07 +01:00
option_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
panel.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
panel.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
panel_container.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
panel_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
popup.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
popup.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
popup_menu.cpp Clears button mask before activating menu item 2020-01-03 09:35:00 +08:00
popup_menu.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
progress_bar.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
progress_bar.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
range.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
range.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
reference_rect.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
reference_rect.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
rich_text_effect.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
rich_text_effect.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
rich_text_label.cpp Make search in RichTextLabel case-insensitive 2020-03-25 11:38:53 +01:00
rich_text_label.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scroll_bar.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scroll_bar.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scroll_container.cpp Merge pull request #35183 from YeldhamDev/scrollbar_regression 2020-01-16 07:56:05 +01:00
scroll_container.h Fix scrollbar regression on large scales 2020-01-16 00:59:46 -03:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
separator.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
separator.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
shortcut.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
shortcut.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
slider.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
slider.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
spin_box.cpp Add apply method to SpinBox 2020-01-11 10:47:51 +00:00
spin_box.h Add apply method to SpinBox 2020-01-11 10:47:51 +00:00
split_container.cpp Uses split cursor for SplitContainer 2020-02-14 16:02:56 +01:00
split_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tab_container.cpp Fix tab container too large when tabs are hidden 2020-03-25 11:38:54 +01:00
tab_container.h Fix tab container too large when tabs are hidden 2020-03-25 11:38:54 +01:00
tabs.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tabs.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
text_edit.cpp Fix potential divisions by 0 reported by MSVC 2020-03-25 11:38:54 +01:00
text_edit.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
texture_button.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
texture_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
texture_progress.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
texture_progress.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
texture_rect.cpp Minor code formatting in TextureRect file 2020-01-01 21:56:12 -03:00
texture_rect.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tool_button.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tool_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tree.cpp Fixes add group in Group Editor dialog 2020-02-14 15:58:36 +01:00
tree.h Fixes add group in Group Editor dialog 2020-02-14 15:58:36 +01:00
video_player.cpp Updates minimum size on VideoPlayer::set_stream 2020-01-26 10:24:56 +08:00
video_player.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
viewport_container.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
viewport_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00