Estragonia
Estragonia copied to clipboard
Allow click through on transparent areas
Hey there I just found out, that there is an issue if you overlay an Avalonia control with transparency on top of other Godot nodes.
I think it would be useful to override _HasPoint on the AvaloniaControl and execute a hit test against Avalonia. This way you can stack multiple layers of Avalonia/Godot controls on top of each other.
It is actually very simple to do using this method:
public override bool _HasPoint(Vector2 point)
{
return Control?.InputHitTest(point.ToAvaloniaPoint()) is not null;
}