This commit is contained in:
parent
1298617635
commit
df1073e754
|
@ -89,7 +89,7 @@ public class WorkPlacePanel : MonoBehaviour
|
|||
public void OnMove(BaseEventData baseEvent)
|
||||
{
|
||||
PointerEventData evnetdata = (PointerEventData)baseEvent;
|
||||
if (evnetdata.button == PointerEventData.InputButton.Right)
|
||||
if (evnetdata.button == PointerEventData.InputButton.Left)
|
||||
{
|
||||
rectTransform.anchoredPosition += evnetdata.delta;
|
||||
|
||||
|
|
Loading…
Reference in New Issue