Fix nodes receiving mouse events in black bars of Window
Previously for InputEvents there was no distinction between Window-area and Viewport-area. This was problematic in cases where stretching was used and the Window contained black bars at the sides of the Viewport. This PR separates the area of Window and Viewport regarding InputEvents.
This commit is contained in:
parent
f7bc653cbe
commit
59c13fea5d
7 changed files with 146 additions and 10 deletions
|
|
@ -115,6 +115,7 @@
|
|||
#include "tests/scene/test_theme.h"
|
||||
#include "tests/scene/test_viewport.h"
|
||||
#include "tests/scene/test_visual_shader.h"
|
||||
#include "tests/scene/test_window.h"
|
||||
#include "tests/servers/rendering/test_shader_preprocessor.h"
|
||||
#include "tests/servers/test_navigation_server_2d.h"
|
||||
#include "tests/servers/test_navigation_server_3d.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue