Updated HSS/VSS to ensure events fire correctly if the control is dragged but not moved:
Resolves: #186pull/442/head
parent
ab34212ade
commit
e7babe0dd6
|
@ -328,6 +328,10 @@ namespace UnityEngine.UI.Extensions
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (distance == 0)
|
||||||
|
{
|
||||||
|
EndScreenChange();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -321,6 +321,10 @@ namespace UnityEngine.UI.Extensions
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (distance == 0)
|
||||||
|
{
|
||||||
|
EndScreenChange();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue