You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user