Adds a gizmo that shows where the scroll snap’s pivot is.
Adds a gizmo on each item to show where its pivot is.
Adds a gizmo to show where the looped item will be when looped, if the scroll snap is loopable.
Â
Reason for Changes
Sometimes it is tricky to visualize how your scroll snap will work when you run the code, this will help with that.
Test Coverage
Horizontal Scroll Snap Pivot:
Scroll Snap Scaled - Pass
Scroll Snap Rotated - Pass
Scroll Snap Pivot Moved - Pass
Horizontal Scroll Snap Item Pivots:
Scroll Snap Scaled - Pass
Scroll Snap Rotated - Pass
Content Rotated - Not Supported
Content Scaled - Pass
Children Scaled - Pass
Children Rotated - Pass
Children Pivots Moved - Pass
Horizontal Scroll Snap Looped Item:
Scroll Snap Scaled - Pass
Scroll Snap Rotated - Pass
Content Rotated - Not Supported
Content Scaled - Pass
Children Scaled - Pass
Children Rotated - Pass
Children Pivots Moved - Pass
Vertical Scroll Snap Pivot
Scroll Snap Scaled - Pass
Scroll Snap Rotated - Pass
Scroll Snap Pivot Moved - Pass
Vertical Scroll Snap Item Pivots:
Scroll Snap Scaled - Pass
Scroll Snap Rotated - Pass
Content Rotated - Not Supported
Content Scaled - Pass
Children Scaled - Pass
Children Rotated - Pass
Children Pivots Moved - Pass
Vertical Scroll Snap Looped Item:
Scroll Snap Scaled - Pass
Scroll Snap Rotated - Pass
Content Rotated - Not Supported
Content Scaled - Pass
Children Scaled - Pass
Children Rotated - Pass
Children Pivots Moved - Pass
Additional Information
The looped item gizmo is currently based on the first child of the content and the last child of the content, which are not necessarily the startmost and endmost items. This could be enhanced in the future.
Resolves
N/A
Proposed Changes
Adds a gizmo that shows where the scroll snap’s pivot is.
Adds a gizmo on each item to show where its pivot is.
Adds a gizmo to show where the looped item will be when looped, if the scroll snap is loopable.
Â
Reason for Changes
Sometimes it is tricky to visualize how your scroll snap will work when you run the code, this will help with that.
Test Coverage
Horizontal Scroll Snap Pivot:
Scroll Snap Scaled - Pass
Scroll Snap Rotated - Pass
Scroll Snap Pivot Moved - Pass
Horizontal Scroll Snap Item Pivots:
Scroll Snap Scaled - Pass
Scroll Snap Rotated - Pass
Content Rotated - Not Supported
Content Scaled - Pass
Children Scaled - Pass
Children Rotated - Pass
Children Pivots Moved - Pass
Horizontal Scroll Snap Looped Item:
Scroll Snap Scaled - Pass
Scroll Snap Rotated - Pass
Content Rotated - Not Supported
Content Scaled - Pass
Children Scaled - Pass
Children Rotated - Pass
Children Pivots Moved - Pass
Vertical Scroll Snap Pivot
Scroll Snap Scaled - Pass
Scroll Snap Rotated - Pass
Scroll Snap Pivot Moved - Pass
Vertical Scroll Snap Item Pivots:
Scroll Snap Scaled - Pass
Scroll Snap Rotated - Pass
Content Rotated - Not Supported
Content Scaled - Pass
Children Scaled - Pass
Children Rotated - Pass
Children Pivots Moved - Pass
Vertical Scroll Snap Looped Item:
Scroll Snap Scaled - Pass
Scroll Snap Rotated - Pass
Content Rotated - Not Supported
Content Scaled - Pass
Children Scaled - Pass
Children Rotated - Pass
Children Pivots Moved - Pass
Additional Information
The looped item gizmo is currently based on the first child of the content and the last child of the content, which are not necessarily the startmost and endmost items. This could be enhanced in the future.