Skip to content

Commit 31eac92

Browse files
iTris666Evergreen
authored andcommitted
[UUM-92615] Fix for supercollapse happening with left click then right click on mac
1 parent 8ad8e60 commit 31eac92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Packages/com.unity.visualeffectgraph/Editor/Manipulators/SuperCollapser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ protected override void UnregisterCallbacksFromTarget()
2626

2727
void OnMouseUp(MouseDownEvent e)
2828
{
29-
if (e.clickCount == 2)
29+
if (e.clickCount == 2 && e.button == (int)MouseButton.LeftMouse)
3030
{
3131
VFXNodeUI slotContainer = (VFXNodeUI)target;
3232

0 commit comments

Comments
 (0)