Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 383e19f

Browse files
Merged in development (pull request #122)
Development * Merged in updated_new_input_system_check (pull request #117) Updated the new Input system switch and tested against 2021 * Updated LineRenderer to initialise with a 1 point array, this resolves an issue with Unity putting the previous controls vertext array in an uninitialised control. Also updated examples checkout * Merged in UpdatedLineRender (pull request #118) UILineRender now initilises with a point of 1 to correct Unity issue * Applied J.R. Mitchell's fix for the Accordion Controls/Accordion/AccordionElement.cs resolves: #364 * Merged in AccordionFIx (pull request #119) Update to Accordion to allow for prefab Accordion Elements * Resolved issue where the Content Scroll snap would cause issue with only 1 child. Also tested and fixed working with no children. Resolves #362 * Merged in content_scroll_snap_fix (pull request #120) ContentScrollSnap update * Updated the PaginationManager to override if the ScrollSnap is in motion. BuyerBeware, Unity's toggles can get in to a state where they are clicked but not clicked. * Merged in PaginationFix (pull request #121) Updated the PaginationManager to override if the ScrollSnap is in motion. * Updated release notes and bumped version to release
1 parent 1dbf267 commit 383e19f

23 files changed

+627
-423
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,5 @@ sysinfo.txt
3636

3737
# UPM Build updates
3838
[Ee]xamples
39-
[Ee]xamples.meta
39+
[Ee]xamples.meta
40+
bitbucket-pipelines.yml.meta

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ sysinfo.txt
3535
/.vs
3636

3737
# UPM Build updates
38-
[Ee]xamples
3938
[Ee]xamples.meta
4039

4140
# NPM publish exclusions
4241
bitbucket-pipelines.yml
42+
bitbucket-pipelines.yml.meta

CHANGELOG.md

Lines changed: 33 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,55 +4,53 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/).
66

7-
## 2019.5 (v2.3) - 2020-10-31
7+
## 2019.6 - 2.5 - Bug squash - 2021/05/10
8+
9+
Its been a while since the last update and although Unity keeps changing, thankfully the parts underneath do not. THanks to some awesome work by our contributors and the test teams, we made a run on some underlying bugs and issues. If you spot anything else, please log it on the BitBucket site for resolution.
10+
11+
> Be sure to logon to the new [Gitter Chat](https://gitter.im/Unity-UI-Extensions/Lobby) site for the UI Extensions project, if you have any questions, queries or suggestions
12+
>
13+
> Much easier that posting a question / issue on YouTube, Twitter or Facebook :D
14+
>
15+
> ## [UIExtensions Gitter Channel](https://gitter.im/Unity-UI-Extensions/Lobby)
816
9-
Since the move to UPM, the team have been able to react quicker and push out fixes a lot easier, without affecting previous installation (whilst still adhering to Unity's backwards compatibility pattern). So it is with great news we announce this new release, faster that ever :D (and thanks to UPM, easier to upgrade than ever).
10-
Be sure to also check out the "Examples" option in the Package Manager window to import the samples to your project.
1117

1218
### Added
1319

14-
- Add squircle primitive
15-
- Adding new magnetic scroll control
16-
- Added a static library to collate shaders on first use.
17-
- Finalized new InputManagerHelper, which translates input based on the operating input system, new or old Updated CardStack2D to have defined keyboard input or specific gamepad input over the older axisname for new input system.
18-
- Updated DropDown and Autocomplete controls based on feedback in #204
20+
Nothing new this time, bugfix release.
1921

2022
### Changed
2123

22-
- Examples now included with UPM delivery and available as a button on the UPM package manager window
23-
- Updated DropDown and Autocomplete controls based on feedback in #204
24-
- Updated Accordion to support both Vertical as well as Horizontal layout
25-
- Updated ComboBox controls to improve better programmatic controls
26-
- Updates to the Infinite scroll to support content of various sizes
27-
- Updated UI Knob control - enabled dragging outside the target area, added example scene
28-
- Minor update to MagneticInfinite Scroll
29-
- Refactored and extended the ContentScrollSnap control
30-
- Added protection against errors and empty scrollrect content
31-
- Added new SetNewItems function to add children programmatically to the control and reset accordingly
32-
- Patch supplied by a contributor to improve the texture sheet use with the UIParticlesystem
33-
- Added "SetKnobValue" function which allows the setting of Value and loops
34-
- Added the programmatic capability to change the parent scroll rect on the ScrollConflictManager at runtime.
24+
- Updated UI Line connector to use relative position instead of anchored position to verify if the Lines need updating.
25+
- Allow menu prefabs to not have to have canvas components. This allows you to use any type of prefab as a "menu". Adam Kapos mentions the concept on the Unite talk, https://youtu.be/wbmjturGbAQ?t=1654
26+
- Updated segment line drawing for Line Lists. Seems Unity no longer needs UV's to be wrapped manually.
27+
- Updated the AutoCompleteComboBox to display text as entered (instead of all lowercase)
28+
- Updated the ComboBox to display text as entered (instead of all lowercase)
29+
- Updated ComboBox Examples to include programmatic versions
30+
- Further ComboBox improvements including:
31+
* Upwards panel
32+
* Start fixes
33+
* Item Template resize
34+
* Disabled sorting on combobox as it wasn't working
35+
* Disabled Slider handle when not in use
36+
* Updated Example
37+
- Updated the new Input system switch and tested against 2021
3538

3639
### Deprecated
3740

3841
None
3942

4043
### Fixed
4144

42-
- Fix to add a "RequireComponent" to Primitives as Unity 2020 does not add them by default
43-
- Remove old Examples submodule
44-
- Updated submodules to hide Examples folder Additionally, updated Package manifest to allow importing of examples direct from UPM package.
45-
- Fixed hard swipe to ensure it only ever moves one page, no matter how far you swipe.
46-
- Fixed a conflict when using the ScrollConflictManager in child content of a HSS or VSS
47-
- Fix for UI Particle system looping
48-
- Fixed public GoToScreen call to only raise events internally (not multiple)
49-
- Final roll-up and fix. Resolved race condition for associated pagination controls.
50-
- Fixed issue with page events not being raised when inertia was disabled (velocity was always zero)
51-
- When cloned, reorderable list was creating a second List Content component that was not initialized. Refactored to ensure only one list content was present and is initialized correctly
52-
- Reorderable list items marked as transferable, remain transferable after being dropped
53-
- Patch to resolve issues without the new Input System installed
54-
- Refined magnetic scroll and dependencies while documenting Updated example
55-
- Patch Tooltip
45+
- Reordering issue resolved with ScrollRectOcclusion.
46+
- Fixed Sorting at min and max positions for ScrollRect
47+
- Updated ScrollToSelect script provided by zero3growlithe, tested and vastly reduces the previous jitter. Still present but barely noticeable now.
48+
- Fixed Issue # 363 Update Combobox control that takes multiple items programmatically, to only allow distinct items
49+
- Fixed the issues where dragging outside the range slider handle causes the range to update. - Resolves #369
50+
- Resolves an issue with Unity putting the previous controls vertex array in an uninitialised control.
51+
- Applied J.R. Mitchell's fix for the Accordion Controls/Accordion/AccordionElement.cs - resolves: #364
52+
- Resolved issue where the Content Scroll snap issue with only 1 child. Resolves #362
53+
- Updated the PaginationManager to override if the ScrollSnap is in motion.
5654

5755
### Removed
5856

Documentation~/com.unity.uiextensions.md

Lines changed: 25 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -39,52 +39,44 @@ This version of the Unity UI Extensions is compatible with the following version
3939

4040
## [Release Notes](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/ReleaseNotes/RELEASENOTES)
4141

42-
### 2019.5 - 2.3 - Accelerated Deployment
42+
### 2019.6 - 2.5 - Bug squash
4343

4444
#### Added
4545

46-
- Add squircle primitive
47-
- Adding new magnetic scroll control
48-
- Added a static library to collate shaders on first use.
49-
- Finalized new InputManagerHelper, which translates input based on the operating input system, new or old Updated CardStack2D to have defined keyboard input or specific gamepad input over the older axisname for new input system.
50-
- Updated DropDown and Autocomplete controls based on feedback in #204
46+
Nothing new this time, bugfix release.
5147

5248
#### Changed
5349

54-
- Examples now included with UPM delivery and available as a button on the UPM package manager window
55-
- Updated DropDown and Autocomplete controls based on feedback in #204
56-
- Updated Accordion to support both Vertical as well as Horizontal layout
57-
- Updated ComboBox controls to improve better programmatic controls
58-
- Updates to the Infinite scroll to support content of various sizes
59-
- Updated UI Knob control - enabled dragging outside the target area, added example scene
60-
- Minor update to MagneticInfinite Scroll
61-
- Refactored and extended the ContentScrollSnap control
62-
- Added protection against errors and empty scrollrect content
63-
- Added new SetNewItems function to add children programmatically to the control and reset accordingly
64-
- Patch supplied by a contributor to improve the texture sheet use with the UIParticlesystem
65-
- Added "SetKnobValue" function which allows the setting of Value and loops
66-
- Added the programmatic capability to change the parent scroll rect on the ScrollConflictManager at runtime.
50+
- Updated UI Line connector to use relative position instead of anchored position to verify if the Lines need updating.
51+
- Allow menu prefabs to not have to have canvas components. This allows you to use any type of prefab as a "menu". Adam Kapos mentions the concept on the Unite talk, https://youtu.be/wbmjturGbAQ?t=1654
52+
- Updated segment line drawing for Line Lists. Seems Unity no longer needs UV's to be wrapped manually.
53+
- Updated the AutoCompleteComboBox to display text as entered (instead of all lowercase)
54+
- Updated the ComboBox to display text as entered (instead of all lowercase)
55+
- Updated ComboBox Examples to include programmatic versions
56+
- Further ComboBox improvements including:
57+
* Upwards panel
58+
* Start fixes
59+
* Item Template resize
60+
* Disabled sorting on combobox as it wasn't working
61+
* Disabled Slider handle when not in use
62+
* Updated Example
63+
- Updated the new Input system switch and tested against 2021
6764

6865
#### Deprecated
6966

7067
None
7168

7269
#### Fixed
7370

74-
- Fix to add a "RequireComponent" to Primitives as Unity 2020 does not add them by default
75-
- Remove old Examples submodule
76-
- Updated submodules to hide Examples folder Additionally, updated Package manifest to allow importing of examples direct from UPM package.
77-
- Fixed hard swipe to ensure it only ever moves one page, no matter how far you swipe.
78-
- Fixed a conflict when using the ScrollConflictManager in child content of a HSS or VSS
79-
- Fix for UI Particle system looping
80-
- Fixed public GoToScreen call to only raise events internally (not multiple)
81-
- Final roll-up and fix. Resolved race condition for associated pagination controls.
82-
- Fixed issue with page events not being raised when inertia was disabled (velocity was always zero)
83-
- When cloned, reorderable list was creating a second List Content component that was not initialized. Refactored to ensure only one list content was present and is initialized correctly
84-
- Reorderable list items marked as transferable, remain transferable after being dropped
85-
- Patch to resolve issues without the new Input System installed
86-
- Refined magnetic scroll and dependencies while documenting Updated example
87-
- Patch Tooltip
71+
- Reordering issue resolved with ScrollRectOcclusion.
72+
- Fixed Sorting at min and max positions for ScrollRect
73+
- Updated ScrollToSelect script provided by zero3growlithe, tested and vastly reduces the previous jitter. Still present but barely noticeable now.
74+
- Fixed Issue # 363 Update Combobox control that takes multiple items programmatically, to only allow distinct items
75+
- Fixed the issues where dragging outside the range slider handle causes the range to update. - Resolves #369
76+
- Resolves an issue with Unity putting the previous controls vertex array in an uninitialised control.
77+
- Applied J.R. Mitchell's fix for the Accordion Controls/Accordion/AccordionElement.cs - resolves: #364
78+
- Resolved issue where the Content Scroll snap issue with only 1 child. Resolves #362
79+
- Updated the PaginationManager to override if the ScrollSnap is in motion.
8880

8981
#### Removed
9082

Editor/UIExtensionsMenuOptions.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,8 @@ static public void AddAutoCompleteComboBox(MenuCommand menuCommand)
806806
//Setup Template
807807
itemTemplate.name = "ItemTemplate";
808808
var itemTemplateRT = itemTemplate.GetComponent<RectTransform>();
809-
itemTemplateRT.sizeDelta = cbbRT.sizeDelta;
809+
itemTemplateRT.sizeDelta = cbbRT.sizeDelta - new Vector2(10,0);
810+
itemTemplateRT.anchoredPosition = new Vector2(-5, 0);
810811
var itemTemplateButton = itemTemplate.GetComponent<Button>();
811812
itemTemplateButton.transition = Selectable.Transition.None;
812813
var itemTemplateLayoutElement = itemTemplate.AddComponent<LayoutElement>();
@@ -902,7 +903,8 @@ static public void AddComboBox(MenuCommand menuCommand)
902903
//Setup Template
903904
itemTemplate.name = "ItemTemplate";
904905
var itemTemplateRT = itemTemplate.GetComponent<RectTransform>();
905-
itemTemplateRT.sizeDelta = cbbRT.sizeDelta;
906+
itemTemplateRT.sizeDelta = cbbRT.sizeDelta - new Vector2(10, 0);
907+
itemTemplateRT.anchoredPosition = new Vector2(-5, 0);
906908
var itemTemplateButton = itemTemplate.GetComponent<Button>();
907909
itemTemplateButton.transition = Selectable.Transition.None;
908910
var itemTemplateLayoutElement = itemTemplate.AddComponent<LayoutElement>();
@@ -1002,7 +1004,8 @@ static public void AddDropDownList(MenuCommand menuCommand)
10021004
//Setup Template
10031005
itemTemplate.name = "ItemTemplate";
10041006
var itemTemplateRT = itemTemplate.GetComponent<RectTransform>();
1005-
itemTemplateRT.sizeDelta = cbbRT.sizeDelta;
1007+
itemTemplateRT.sizeDelta = cbbRT.sizeDelta - new Vector2(10, 0);
1008+
itemTemplateRT.anchoredPosition = new Vector2(-5, 0);
10061009
var itemTemplateButton = itemTemplate.GetComponent<Button>();
10071010
itemTemplateButton.transition = Selectable.Transition.None;
10081011
var itemTemplateLayoutElement = itemTemplate.AddComponent<LayoutElement>();

Examples~

Submodule Examples~ updated from 4487168 to d08257d

0 commit comments

Comments
 (0)