Simon (darkside) Jackson
184f608ed7
Switched to using AnchoredPosition as key rather than the original LocalPosition. This seems to resolve the long standing intermittent issue with the content becoming offset on scroll.
2020-06-22 15:48:16 +01:00
Simon (darkside) Jackson
018bb1c524
Refactored HSS/VSS to move the onEndDrag interface bindings are on the BaseScrollSnap instead of the child controls
2020-05-22 12:15:58 +01:00
Simon (darkside) Jackson
162bb7ca56
Fixed issues with HSS/VSS in conjunction with the UI_Infinite Scroll
...
* Vertical Scroller now works with infinite ScrollSnapBase
* Resolved issue with Procedural scrollers used with infinite ScrollSnapBase
* Resolved issue with UI Infinite scroll which couldn't handle content in reverse order
2020-01-19 10:50:39 +00:00
Martin Shuttleworth
61e019ac26
Added optional event delta to OnEndDrag - to allow bail out of swipe action if swipe motion is actually negligible at end of drag
2019-07-10 17:36:36 +01:00
Rubén Moraleda
67aefea569
Allow ignoring the Time.timeScale on ScrollSnaps (Horiz + Vert)
2019-01-15 11:45:10 +01:00
Simon (Darkside) Jackson
d3fc02c475
Reapplying fixes after having to do a reset, whoops
2018-05-31 16:55:39 +01:00
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 (Darkside) Jackson
54488e1089
Experimental ScrollSnap base with support for the UI Infinite scroll component
...
* Does not yet work with buttons
* GoTo screen not tested
New features only activate with a UI Infinite Scroll attached.
2017-10-19 13:11:09 +01:00
Johannes Deml
2c8550532d
CHANGE tooltip to describe the actual (changed) behaviour
2017-08-02 12:28:09 +02:00
Johannes Deml
14f42df81c
REFACTOR make method more readable
2017-08-02 11:59:27 +02:00
Simon Jackson
8c2d10dccc
Added CurrentPageObject functions to return the Transform of the currently selected page.
2017-07-09 10:17:32 +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
49ecdc1b0e
Added Scrollbar helper to ALL current scroll snaps
...
Resolves #120
2017-07-02 10:09:52 +01:00
Simon Jackson
35b88a2487
Fixed Line endings on shaders (?)
...
Removed unnecessary usings (who knew there were so many, I'm normally so tidy :P)
2017-05-05 14:25:48 +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
Simon Jackson
cc7c66f9f5
Updated Scroll Snap Base to resolve #119
2017-02-23 15:18:16 +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
5820447547
Fix for #109 .
...
Add Screen Change event to "GoToPage"
--HG--
branch : develop_5.3
2017-01-08 12:03:27 +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
38d98a0fad
Resolution for #80 issue where onPageChanged is fired multiple times for Next/Previous.
...
--HG--
branch : develop_5.3
2017-01-04 12:32:44 +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
21ad76580e
Minor patchfix on HSS/VSS - Starting screen validation failed on new scenes?
...
--HG--
branch : develop_5.3
2017-01-02 18:17:18 +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
b169e98452
Reversed clean-up, was actually used :S
...
--HG--
branch : develop_5.3
2016-12-30 15:56:00 +00:00
Simon Jackson
df9ea42e02
Updated HSS/VSS OnSelectionChangeEndEvent to also output the landed page number (zero indexed)
...
Some redundant code clean-up
--HG--
branch : develop_5.3
2016-12-30 15:53:44 +00:00
Simon Jackson
aadba190c8
Fixed PageChanged event for HSS/VSS
...
Fixed WorldSpace use of HSS/VSS (also created a new feature :D)
Minor editor options fix for boxslider
--HG--
branch : develop_5.3
2016-12-30 15:44:36 +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
f98aa18981
A little tidying of the ScrollSnap base script, nothing to see here :D
...
--HG--
branch : develop_5.3
2016-12-21 18:50:42 +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