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
Simon (darkside) Jackson
0a5444b22b
Updated Fancy ScrollView and added Example 8
2019-12-04 17:25:31 +00:00
Simon (darkside) Jackson
c41ad9a163
Updated ScrollSnapScrollbarHelper to only be added in the scene per object once
...
Resolves #304
2019-12-04 16:08:27 +00:00
Simon (darkside) Jackson
41e082802a
Updated FancyScrollView to latest
2019-11-16 14:49:21 +00:00
Simon Jackson
58e9772ccb
Updated Fancy Scroll view to the latest
2019-09-27 13:30:11 +01: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
Simon (Darkside) Jackson
43eaa870e1
Resolved a number of .NET warnings and invalid properties
2019-03-07 18:11:51 +00:00
lars me
ba6dc87b11
Merged in larsme/unity-ui-extensions/UI_vertical_scroller (pull request #47 )
...
More Options for UI Vertical Scroller
Approved-by: Simon Jackson <darkside@xna-uk.net>
2019-02-25 15:04:58 +00:00
LARS-LAPTOP2\larsme
cee50a6d63
More Options for UI Vertical Scroller
...
- Option to stop scrolling momentum when scrolling past first / last item (still draggable in that direction)
- Explicit function to recognize / set array elements in case they were changed
- Resize elements to match elementSize rect object (defaults to center object), scaled using modifiable elementShrinkage and minSize
- Detect focusedElement and trigger event if focus changes
- Option whether to make unfocused elements interactible or not
2019-02-22 18:08:50 +01:00
LARS-LAPTOP2\larsme
bccf36f06f
corrected sign for horizontal scrollsnap left fast swipe
2019-02-20 17:51:22 +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
f643e868d1
Added CardUI controls to the project - Thanks to @ryanslikesocool
...
Docs to follow
2019-01-07 14:47:41 +00:00
Simon (Darkside) Jackson
a645c1e0c2
Updated FancyScrollView to latest version
2018-12-31 15:16:28 +00:00
Durmuş Ali Çöllü
d9adaecfb7
Issue #239 fixed. https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/issues/239/swipe-threshold-value-seems-to-be-on
2018-11-13 02:32:14 +01:00
i1
16df45eea3
fixed adding component ScrollSnapScrollbarHelper multiple times
2018-10-04 00:19:56 +03: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
b12ade6b12
Added child layout fix from John Hattan
...
resolves #225
2018-04-19 18:01:41 +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 Jackson
4d913f33a8
HorizontalScrollSnap.cs updated to match VerticalScrollSnap - Resolves #213
2018-02-19 15:23:38 +00:00
Simon (Darkside) Jackson
55a7d21860
First pass optimisation for next update.
...
[x] Cleared any outstanding warnings on build
[x] Tested random scenes and updated (requires further investigation)
2018-01-20 12:08:44 +00:00
ramonmolossi
9528fb235e
Merged in ramonmolossi/unity-ui-extensions (pull request #19 )
...
Flow Layout changed to support Vertical Flow
2018-01-06 11:33:59 +00:00
Beka Westberg
fca370b906
Created a Content Scroll Snap that snaps onto the children of the content no matter their sizing or spacing
2017-12-05 14:23:01 -08: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
ramonmolossi
dcff7e29a3
Layout changes to support Vertical Flow
2017-09-08 21:14:58 -03:00
Simon Jackson
1f16a65f0f
Some realignment of the H&S ScrollSnap Scripts
...
Resolves #160
2017-08-12 10:24:25 +01:00
Simon Jackson
c11796ebcc
Update 2.0 Check-in
2017-08-11 13:17:10 +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
2c8550532d
CHANGE tooltip to describe the actual (changed) behaviour
2017-08-02 12:28:09 +02: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
8c2d10dccc
Added CurrentPageObject functions to return the Transform of the currently selected page.
2017-07-09 10:17:32 +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
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
Simon Jackson
df3ff02bd5
Replicated the ScrollSnap fix ( #91 ) to the VSS
...
--HG--
branch : develop_5.3
2017-02-10 16:04:24 +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
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