Replicated the ScrollSnap fix (#91) to the VSS

--HG--
branch : develop_5.3
release
Simon Jackson 2017-02-10 16:04:24 +00:00
parent 9f293eba7e
commit df3ff02bd5
2 changed files with 1 additions and 9 deletions

View File

@ -181,6 +181,7 @@ namespace UnityEngine.UI.Extensions
DistributePages(); DistributePages();
if (MaskArea) UpdateVisible(); if (MaskArea) UpdateVisible();
SetScrollContainerPosition(); SetScrollContainerPosition();
OnCurrentScreenChange(_currentPage);
} }
private void OnRectTransformDimensionsChange() private void OnRectTransformDimensionsChange()

View File

@ -1,9 +0,0 @@
fileFormatVersion: 2
guid: 11b8dea2802a80b4390c55681c85d24f
folderAsset: yes
timeCreated: 1483877637
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant: