Updated ScrollSnapScrollbarHelper to only be added in the scene per object once

Resolves #304
pull/413/head
Simon (darkside) Jackson 2019-12-04 16:08:27 +00:00
parent c9a6b52d19
commit c41ad9a163
1 changed files with 1 additions and 1 deletions

View File

@ -6,9 +6,9 @@ using UnityEngine.EventSystems;
namespace UnityEngine.UI.Extensions
{
[DisallowMultipleComponent]
public class ScrollSnapScrollbarHelper : MonoBehaviour, IPointerDownHandler, IPointerUpHandler, IBeginDragHandler, IEndDragHandler, IDragHandler
{
internal IScrollSnap ss;
public void OnBeginDrag(PointerEventData eventData)