Commit Graph

368 Commits

Author SHA1 Message Date
2346644c04 Switch DelayedLoadUnloadWrappers to DelayedLoadWrappers
Due to pooling usage, there is no time we need to unload. Switching to
DelayedLoadWrapper cleans up the code and reduces overhead
substantially.
2020-10-13 18:47:40 +09:00
4f4f222514 Remove unnecessary fade (already applied by base DrawableCarouselItem) 2020-10-13 18:28:28 +09:00
83358d487f Remove logging 2020-10-13 18:18:22 +09:00
3d9ea852ec Remove masking override (no longer needed as our size is now correct) 2020-10-13 18:14:23 +09:00
69650c16fc Simplify vertical position calculations by including spacing in height definition 2020-10-13 18:13:36 +09:00
b1ddb08a4e Fix right click context menus appearing in incorrect locations 2020-10-13 18:01:12 +09:00
d9a6a6b245 Split content out into own class 2020-10-13 18:01:12 +09:00
9b2ebb8f0f Fix main content DelayedLoadUnloadWrapper not getting a valid size before load 2020-10-13 17:45:41 +09:00
f3b937e358 Fix masking issues with certain aspect ratio displays 2020-10-13 17:37:33 +09:00
fdd4d95cdc Fix difficulties being at incorrect vertical positions after filter is applied 2020-10-13 17:37:33 +09:00
b536f571fd Move header height propagation to update for safety 2020-10-13 17:37:33 +09:00
ded09b78cb Avoid usage of AutoSize for DrawableCarouselItems in general 2020-10-13 17:37:33 +09:00
cecdf14f53 Avoid reconstructing beatmap difficulties that were recently displayed 2020-10-13 17:37:33 +09:00
1da49073ab Calculate content height automatically 2020-10-13 17:37:33 +09:00
c08b5e8d03 Align beatmap difficulties correctly 2020-10-13 17:37:33 +09:00
cfec4f4fc1 Extract header element from base DrawableCarouselItem class 2020-10-13 17:37:33 +09:00
20b54fb904 Move transform clean-up to pooling free call 2020-10-13 17:37:33 +09:00
f6aa448523 Store y positions inside items rather than in a separate array 2020-10-13 17:37:33 +09:00
b92c22ad42 Add logging 2020-10-13 17:37:33 +09:00
9814e9ba7f Split classes out to reduce loc burder on DrawableCarouselBeatmapSet 2020-10-13 17:37:33 +09:00
975cd5a840 Add back beatmap difficulty appear/disappear movement 2020-10-13 17:37:33 +09:00
fd8654cff3 Add back difficulty panel spacing 2020-10-13 17:37:33 +09:00
82f9ca3de9 Bind to filter event changes in base drawable item 2020-10-13 17:37:33 +09:00
813ee19728 Use existing event flow for rendering beatmap difficulties 2020-10-13 17:37:33 +09:00
bb03c5d77c Temporarily disable masking temporarily to fix panels disappearing at extents 2020-10-13 17:37:33 +09:00
524419d5e4 Fix filtered items being considered for height calculation 2020-10-13 17:37:33 +09:00
0a144a1388 Correctly free panels after use to avoid finalizer disposal of subtree 2020-10-13 17:37:33 +09:00
5c29aa8cce Fix multiple difficulties being expanded at once 2020-10-13 17:37:33 +09:00
5c2f134665 Add back left offset for selected set 2020-10-13 17:37:33 +09:00
3cfc0dc82d Add safeties to beatmap panel loading code 2020-10-13 17:37:33 +09:00
954d43ef56 Debounce state application events 2020-10-13 17:37:33 +09:00
0400b34349 Load more components asynchronously after pool resolution 2020-10-13 17:37:33 +09:00
f3b24b9bb5 Avoid performing eager selection constantly on adding ranges of new children 2020-10-13 17:37:33 +09:00
0a978c6131 Add basic pooling setup 2020-10-13 17:37:33 +09:00
3143224e5b Refactor how drawable carousel items are constructed 2020-10-13 17:37:33 +09:00
9193f5b0ba Expose panel height from non-drawable models 2020-10-13 17:37:33 +09:00
a393bbe8f7 Remove direct drawable storage from carousel models 2020-10-13 17:37:33 +09:00
73c238fae3 Add the ability to search for local beatmaps via online IDs
Closes #10470.
2020-10-10 21:34:11 +09:00
43525614ad Store raw BeatmapCollection in filter control 2020-09-09 23:10:21 +09:00
0360f7d845 Move CollectionManager to OsuGame 2020-09-09 15:39:15 +09:00
4ddf5f054b Rename BeatmapCollectionManager -> CollectionManager 2020-09-09 15:31:08 +09:00
a5e1e8d043 Rename More... to Manage... 2020-09-08 18:57:18 +09:00
ae022d7559 Show all items in dropdown, set global max height 2020-09-08 18:55:53 +09:00
8b770626fa Add missing '...' from some popup menu items 2020-09-08 12:18:08 +09:00
b15bbc882a Move items up in menu 2020-09-08 12:04:35 +09:00
3e5ea6c42f Change "Add to" to "Collections"
Doesn't make send to be 'add to' when it can also remove
2020-09-08 12:00:00 +09:00
98e9c4dc25 General refactorings 2020-09-07 21:08:48 +09:00
4b4dd02942 Make collection name a bindable 2020-09-05 04:43:59 +09:00
345fb9d8e0 Rename classes 2020-09-05 03:55:43 +09:00
ebd11ae0b7 Add a collection management dialog 2020-09-05 03:52:07 +09:00