Dean Herbert
|
d9d083752a
|
Clamp backwards index to total current items to fix edge case of item removal
|
2022-10-26 11:03:11 +09:00 |
|
Dean Herbert
|
cf3bf41b49
|
Harden and simplify logic to avoid weird issues
|
2022-10-25 18:57:15 +09:00 |
|
Dean Herbert
|
22ea9a8ab4
|
Add early return of carousel group has no items
|
2022-10-25 13:34:22 +09:00 |
|
Dean Herbert
|
2456a18bc1
|
Rewrite implementation to avoid duplicated LINQ returns
|
2022-10-25 12:48:17 +09:00 |
|
Dean Herbert
|
217fa00a72
|
Bring logic up-to-date
|
2022-08-26 19:32:49 +09:00 |
|
Dean Herbert
|
a146db0e35
|
Merge branch 'master' into carousel-perform-selection
|
2022-08-26 19:29:00 +09:00 |
|
Salman Ahmed
|
693ac8750c
|
Remove remaining uses of "child" terminology in non-drawable components
|
2022-07-26 09:43:47 +03:00 |
|
Dean Herbert
|
3cfe624af1
|
Fix one more missed method with incorrect terminology
|
2022-07-21 16:16:41 +09:00 |
|
Dean Herbert
|
a05d7f4d8c
|
Change carousel terminology to not use Children / InternalChildren
|
2022-07-21 16:06:06 +09:00 |
|
Dan Balasescu
|
f8830c6850
|
Automated #nullable processing
|
2022-06-17 16:37:17 +09:00 |
|
Dean Herbert
|
9a864267d2
|
Fix CarouselGroupEagerSelect not invoking subclassed AddChild from AddChildren calls
|
2022-01-20 21:57:16 +09:00 |
|
Endrik Tombak
|
43e8e3e922
|
Add comments to GetNextToSelect()
|
2021-08-27 18:16:53 +03:00 |
|
Endrik Tombak
|
8bd7837bf7
|
Fix off-by-one skip amount
|
2021-08-26 19:29:58 +03:00 |
|
Endrik Tombak
|
a8d869c31c
|
Replace SkipWhile() LINQ with a while loop
|
2021-08-26 18:31:19 +03:00 |
|
Endrik Tombak
|
b484bd1af3
|
Rename parameter and remove redundant parentheses
|
2021-08-25 22:43:58 +03:00 |
|
Endrik Tombak
|
52a243afca
|
Don't select random beatmap when previous was filtered
|
2021-08-25 22:03:07 +03:00 |
|
Dean Herbert
|
f3b24b9bb5
|
Avoid performing eager selection constantly on adding ranges of new children
|
2020-10-13 17:37:33 +09:00 |
|
Endrik Tombak
|
2f5dc93d61
|
Select recommended difficulty
|
2020-03-26 00:19:54 +02:00 |
|
Dean Herbert
|
8f9e97b4cc
|
Fix carousel not remembering last selection correctly
|
2020-03-19 18:07:39 +09:00 |
|
Dean Herbert
|
c39c37a18d
|
Apply more missed cases
|
2019-04-01 12:44:46 +09:00 |
|
Dean Herbert
|
3fe4b8fd1c
|
Update variable names
Also cleans up some weird code
|
2019-02-22 17:51:39 +09:00 |
|
smoogipoo
|
bca347427f
|
Update with framework bindable changes
|
2019-02-21 18:56:34 +09:00 |
|
Dean Herbert
|
8617aaa2a7
|
Update licence header (and remove year)
|
2019-01-24 17:43:03 +09:00 |
|
Dean Herbert
|
32a74f95a5
|
Normalize all the line endings
|
2018-04-13 18:26:38 +09:00 |
|
smoogipoo
|
82a847b820
|
Extract random selection logic into CarouselRoot
|
2018-04-02 15:16:10 +09:00 |
|
Endrik Tombak
|
7e30375443
|
Use selectNextRandom instead
|
2018-03-30 10:46:46 +03:00 |
|
Endrik Tombak
|
3f65e3a7e3
|
Make selection at random when last was null
|
2018-03-30 00:15:32 +03:00 |
|
Dean Herbert
|
37d393bca0
|
Update licence headers
|
2018-01-05 20:21:19 +09:00 |
|
Dean Herbert
|
c10288541c
|
Avoid redundant IndexOf calls
|
2017-12-18 07:58:34 +09:00 |
|
Dean Herbert
|
54cc6fadf9
|
Greatly improve performance when many hidden panels are on-screen
|
2017-12-17 05:57:50 +09:00 |
|
Dean Herbert
|
5d7413f19c
|
Improve performance with large numbers of panels visible
|
2017-12-17 04:30:56 +09:00 |
|
Dean Herbert
|
bd9056c709
|
Better choose new selection when multiple items are removed including current
|
2017-12-16 17:32:21 +09:00 |
|
Dean Herbert
|
3c406662ed
|
Ensure correct selection after deletion of currently selected
Also fixes a lot of bad interactions and simplifies further.
|
2017-12-16 16:18:44 +09:00 |
|
Dean Herbert
|
a8a2c233a0
|
Add tests for (and fix) removal of last item in carousel
|
2017-12-16 00:33:09 +09:00 |
|
Dean Herbert
|
67f05977ea
|
Add sorting support
|
2017-12-15 14:36:51 +09:00 |
|
Dean Herbert
|
78dd975a35
|
Initial carousel infrastructue changes
|
2017-12-15 14:36:51 +09:00 |
|