Simon (Darkside) Jackson
104002eaa5
Updated HSS/VSS to include a new HARD swipe option. Forces scroll snap to ONLy move one page when swiped.
2018-03-24 15:36:38 +00:00
Simon Jackson
4d913f33a8
HorizontalScrollSnap.cs updated to match VerticalScrollSnap - Resolves #213
2018-02-19 15:23:38 +00:00
Simon Jackson
1f16a65f0f
Some realignment of the H&S ScrollSnap Scripts
...
Resolves #160
2017-08-12 10:24:25 +01:00
Simon Jackson
adb09d3481
Also added "InitialiseChildObjectsFromScene" to RemoveChild for HSS
...
Validated all other occurrences where this function should be called are valid.
2017-08-07 11:56:41 +01:00
Simon Jackson
cdef4bdfef
Horizontal Scroll Snap "AddChild" method was NOT calling "InitialiseChildObjectsFromScene()", added
...
Resolves #125
2017-08-07 11:53:57 +01:00
Johannes Deml
59b6c579f9
Merge branch 'master' into ScrollSnapRefactoring
2017-08-02 12:00:35 +02:00
Johannes Deml
14f42df81c
REFACTOR make method more readable
2017-08-02 11:59:27 +02:00
Johannes Deml
c8de1b9289
FIX fastswipe threshold
...
Does now what is stated it does in the tooltip: Offset for how far a swipe has to travel to initiate a page change (optional)
2017-08-02 11:57:02 +02:00
Simon Jackson
688e2edd25
Added the FancyScrollView control and Examples
...
Reviewed other samples and moved their code to the new "Examples" namespace
Minor fix on HSS/VSS to address issue where Next/Previous buttons didn't enable when new pages added to an empty control
2017-08-02 10:21:45 +01:00
David Gileadi
700cbc34b9
Calculate the panel dimensions in Start to avoid scale issues
2017-07-26 22:44:18 -07:00
Simon Jackson
2b5071585b
Fix supplied by Anonymous user, resolves issues with fast swipe on fringe pages.
...
Resolves #154
2017-07-16 18:00:43 +01:00
Simon Jackson
f49c8564ac
Resolves #137
...
WorldPositionStays argument added to:
* RemoveChild
* RemoveAllChildren
For HSS/VSS ScrollSnaps
2017-07-02 14:33:57 +01:00
Simon Jackson
439242d914
Updated FastSwipe logic to measure the distance of a swipe against the container width (with threshold offset) rather than using velocity (which was messy)
...
Resolves #130
2017-07-02 14:22:10 +01:00
Simon Jackson
966f82da3f
Added option to NOT restart control
...
Also switched to the InitialiseChildObjectsFromScene (whoops)
2017-03-12 15:29:59 +00:00
Simon Jackson
f89702ddc6
Minor VSS/HSS bugfixes and enhancements, resolving #114
2017-03-12 15:18:36 +00:00
Chris Parton
fdfd114157
Improved scroll snap containers to disable navigation buttons when appropriate.
...
Reordered PrevButton and NextButton to be more logical.
--HG--
branch : navigation_button_toggle
2017-02-07 21:55:38 +11:00
Simon Jackson
0d28905892
Patch for Bullet initialisation, wasn't selecting the right bullet on start.
...
--HG--
branch : develop_5.3
2017-01-08 12:11:13 +00:00
Simon Jackson
344ca57f4b
Updated VSS / HSS to handle pages with interactable components.
...
Interactables mess with the Pointer Down/Up events that the control used when a mouse is used, so implementation changes to suit.
--HG--
branch : develop_5.3
2017-01-04 13:18:28 +00:00
Simon Jackson
cd3f79ef7c
2 patches for HSS/VSS
...
* Added new overload to AddChild, allows to set WorldPositionStays for added childen
* New RemoveAllChildren function
--HG--
branch : develop_5.3
2017-01-04 12:16:11 +00:00
Simon Jackson
c1682b11a8
Pre-Release upload - tested and working
...
--HG--
branch : develop_5.3
2016-12-31 17:01:49 +00:00
Simon Jackson
e0c3864fb7
Resolved issue with HSS/VSS not resizing when Rect/Scene changes
...
Updated HSS/VSS Visibility logic so it's more refined.
--HG--
branch : develop_5.3
2016-12-31 15:14:39 +00:00
Simon Jackson
f0ba3cfae5
Minor fixes and additions
...
Updates to resolve reports in Issue #80
--HG--
branch : develop_5.3
2016-12-29 22:03:04 +00:00
Simon Jackson
94f857d203
Remaining issues resolved.
...
Now to double check YT and BB for any remaining unresolved issues
--HG--
branch : develop_5.3
2016-12-21 17:51:38 +00:00
Simon Jackson
a72c45e02a
Almost complete:
...
* Scrolling - working
* Fast Swipe - working (as well as Unity can fast swipe :S)
* Mask with only visible items - working
* Jump to page - working
Just found a bug with removing / adding items
--HG--
branch : develop_5.3
2016-12-21 16:52:19 +00:00
Simon Jackson
4bd100c7e9
Initial check-in of visible ony VSS (HSS yet to be updated)
...
--HG--
branch : develop_5.3
2016-12-18 22:51:16 +00:00
Simon Jackson
d101a574c8
Removed arrays from control and refactored, heavy perf inprovement
...
Downside it made my "visible" improvement redundant and need to re-implement.
--HG--
branch : develop_5.3
2016-12-10 13:36:28 +00:00
Simon Jackson
5cbfc70e30
Refactored general code for HSS / VSS in to base class
...
Fixed issue with add/remove pages where positions were not recalculated
--HG--
branch : develop_5.3
2016-12-05 10:15:48 +00:00
Simon Jackson
74ef2ca4e7
Fixed paging / smooth scrolling with the HSS / VSS
...
Current page now updated correctly while scrolling
--HG--
branch : develop_5.3
2016-12-04 20:06:03 +00:00
Simon Jackson
76e5049023
Fixed and tested HSS & VSS use with Scroll COnflict Manager.
...
HSS & VSS controls now play nicely together
Added new version of Gradient
--HG--
branch : develop_5.3
2016-11-15 23:48:44 +00:00
Simon Jackson
1730965a44
Added Start and End move events to the HSS & VSS controls
...
--HG--
branch : develop_5.3
2016-11-15 18:09:13 +00:00
Simon Jackson
2de76cf7a3
Perfromance tweaks for H & V scroll snaps.
...
Updated create option
Matched Size options from HSS update in to VSS
--HG--
branch : develop_5.3
2016-11-15 14:52:34 +00:00
Simon Jackson
cb535507a4
Updated H & V scroll snap starting page and button navigation
...
Updated H & V jump function to only accept values with in page range
--HG--
branch : develop_5.3
2016-11-15 13:36:50 +00:00
Shawn Featherly
6887b20915
HorizontalScrollSnap.cs works well with AnchorMinMax.
...
--HG--
branch : Feddas/horizontalscrollsnapcs-works-well-with-a-1472852283807
2016-09-02 21:38:06 +00:00
Simon Jackson
006ad7311f
H & V Scroll snap fixes to resolve #91
...
--HG--
branch : develop_5.3
2016-07-21 17:25:34 +01:00
Simon (darkside) Jackson
03c2e4d81f
Numerous fixes to HSS / VSS - added warning not to use scrollbars
...
Added fix for reorderable list last item issue
Fixed UI Vertical scroller demo - swapped year and day round as it was confusing
UI Selectable fix for onDisable to set as unpressed
Added new Shine Effect control
1.1 release coding done. Next update release notes and test
--HG--
branch : develop_5.3
2016-05-28 00:04:08 +01:00
Simon (darkside) Jackson
2b0c2d805a
Added "Go to Screen" option for HSS and VSS by request
...
--HG--
branch : develop_5.3
2016-05-23 21:10:17 +01:00
Simon (darkside) Jackson
2d3b348825
Patches added to HSS and VSS to include programatic support
...
Line Renderer updated with Bezier support
--HG--
branch : develop_5.3
2016-05-23 20:57:56 +01:00
Simon (darkside) Jackson
ca29aabed3
Added tooltips to new properties on V & H ScrollSnaps
...
Moved new ScrollConflictManager script to correct place
--HG--
branch : develop_5.3
2016-05-17 22:46:37 +01:00
Simon (darkside) Jackson
3d39d1da47
Updated Vertical and Horrizontal Scroll Snaps controls to include:
...
* Tranisition speed
* Starting page
* Page Snap size (to control distribution of pages)
Resolves requested issues / fixes
--HG--
branch : develop_5.3
2016-05-17 22:37:01 +01:00
Simon (darkside) Jackson
3b5bdaaa5a
Initial check-in for the 1.1 release, fixes include:
...
* Update to Line Renderer - updated scrip plus patches, now more code friendly for adding points
* New Curved Layout component
* ScrolTo script updated based on authors new version
* UISoftAlphaMask updated to latest version
* Added ScrollSpeed to Horizontal and Vertical Scroll Snap
* Added Scroll Conflict Manager (untested)
ToDo:
* Test Scroll Conflict manager
* Make the distance between pages on the H&V Scroll snaps configurable
* Test Scroll Snap starting page fix
* Review Reorderable List scrolling issue
* Review Reorderable List Worldspace render issue
--HG--
branch : develop_5.3
2016-05-17 13:26:50 +01:00
Ziboo
8a32994697
Change how children are resize.
...
Using rect.width & rect.height instead of sizeDelta.
Like that you can have the top container use stretch anchors
--HG--
branch : Ziboo/change-how-children-are-resize-using-rec-1443606808122
2015-09-30 09:55:31 +00:00
Simon (darkside) Jackson
64067d97b4
Slight reorg and addition of the following components:
...
* Radial layout
* Tile Size Fitter
* UI Circle Primative
* Switch to RectTransform
* Input Field Enter Submit (alt to ReturnKeyTrigger)
2015-09-20 00:24:17 +01:00