From f101afbb299853b3678ffccc6dc58455682b840d Mon Sep 17 00:00:00 2001 From: Simon Jackson Date: Thu, 21 Oct 2021 13:48:44 +0100 Subject: [PATCH] Clean up range slider unused variables --- Runtime/Scripts/Controls/RangeSlider.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Runtime/Scripts/Controls/RangeSlider.cs b/Runtime/Scripts/Controls/RangeSlider.cs index 4477017..b43401a 100644 --- a/Runtime/Scripts/Controls/RangeSlider.cs +++ b/Runtime/Scripts/Controls/RangeSlider.cs @@ -532,7 +532,6 @@ namespace UnityEngine.UI.Extensions //HANDLE DRAG EVENTS m_LowOffset = m_HighOffset = Vector2.zero; - Vector2 localMousePos; if(m_LowHandleRect != null && LowValue == MaxValue && RectTransformUtility.RectangleContainsScreenPoint(m_LowHandleRect, eventData.position, eventData.enterEventCamera)) { SetToMoveLowValueHandle(m_LowHandleRect, eventData);