This commit is contained in:
2026-06-17 17:45:53 +02:00
parent 00a79e55de
commit b67042d47d
2 changed files with 21 additions and 1 deletions

View File

@@ -45,7 +45,11 @@ public partial class Nodule : Node2D
{
using (@event)
{
if (@event is InputEventMouseButton && @event.IsPressed() && _mouseInsideClickArea)
if (
@event is InputEventMouseButton { ButtonIndex: MouseButton.Left }
&& @event.IsPressed()
&& _mouseInsideClickArea
)
{
_clickedInside = true;
GetViewport().SetInputAsHandled();