zoom
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user