Fixed hard swipe to ensur eit only ever moves one page, no matter how far you swipe.
Resolves #344pull/413/head
parent
3a77711a40
commit
3427cb8442
|
@ -45,6 +45,8 @@ namespace UnityEngine.UI.Extensions
|
|||
}
|
||||
}
|
||||
|
||||
if (UseHardSwipe) return;
|
||||
|
||||
CurrentPage = GetPageforPosition(_screensContainer.anchoredPosition);
|
||||
|
||||
//If the container is moving check if it needs to settle on a page
|
||||
|
|
Loading…
Reference in New Issue