Commit Graph

40 Commits

Author SHA1 Message Date
a578f7a406 Force nested screens to load synchronously 2022-05-10 18:21:35 +09:00
25c6226ca9 Adjust transition length for a more seamless screen change 2022-05-10 18:21:35 +09:00
493798ae5e Fix nested ui scale example screens no longer fitting 2022-05-10 18:21:35 +09:00
63b9e01d38 Fix behaviour screen using old style buttons 2022-05-10 18:21:35 +09:00
61313b69ec Standardise font sizes in first run overlay screens 2022-05-10 18:21:35 +09:00
e5204e565d Move horizontal padding to content level to better align scrollbar 2022-05-10 18:21:35 +09:00
46d3220c07 Isolate sample screens from global mods bindable
Fixes scenario wherein entering the first run setup overlay, exiting at
the "UI scale" step (which shows a song select), then moving to actua
song select and trying to select a mod would lead to a crash.

The crash was caused by two active mod screen instances attempting to
swap the global mod bindable's mod instances for ones they owned. This
logic - while generally problematic and hard to maintain - was fixing
several issues with mod reference management and setting copying, so I'm
letting it live another day.

This change will mean that the song select preview on the "UI scale"
step will not receive the same mods that the actual game has enabled.
That said, it already doesn't use the same beatmap or ruleset, so this
looks fine to break.
2022-05-07 21:44:58 +02:00
4b30d0e59b Fix first-run overlay's song select applying track adjustments
Closes https://github.com/ppy/osu/issues/18041.
2022-05-02 17:42:57 +09:00
a75051cd00 Merge branch 'master' into add-tutorial 2022-04-29 11:25:17 +09:00
96f6c918a8 Merge branch 'master' into first-run-behaviour-screen 2022-04-29 00:55:30 +02:00
a50dd2ae93 Fix rider failures in nullable 2022-04-28 20:15:40 +09:00
694f33b827 Add localisation of beatmaps screen 2022-04-28 19:33:16 +09:00
b6896376e7 Better signal when no beatmaps are loaded 2022-04-28 19:08:16 +09:00
88bfd5dece Show current beatmap count on beatmap screen 2022-04-28 19:01:21 +09:00
4e0d70cbf4 Internalise bindable and progress handling to ensure transforms don't go backwards 2022-04-28 19:01:21 +09:00
9f6597695c Only mark stable import complete if it actually completes 2022-04-28 19:01:21 +09:00
c860eb46b0 Split out button implementation into its own class 2022-04-28 19:01:21 +09:00
081275e0b9 Adjust text and layout 2022-04-28 19:01:21 +09:00
3c0bdcaf38 Rename screen, add tests and add stable import step 2022-04-28 19:01:21 +09:00
58399a5113 Add tutorial download support and improve the visuals "slightly" 2022-04-28 19:01:21 +09:00
973dd4bfa9 Add initial flow for download button / progress display 2022-04-28 19:01:21 +09:00
b042f1cad5 Add screen to perform bundled beatmap downloads 2022-04-28 19:01:21 +09:00
0354dd5ce6 Add comment regarding section initialisation in ScreenBehaviour 2022-04-27 16:02:39 +09:00
0343687b85 Make apply default methods more explicit in behaviour 2022-04-27 15:59:39 +09:00
01fdb771ee Add header text to first run setup screens 2022-04-26 16:22:41 +09:00
942f4e8ac2 Merge branch 'first-run-show-get-started' into first-run-behaviour-screen 2022-04-26 16:10:16 +09:00
2c836e2d63 Fix scrollbar overlapping content 2022-04-26 15:55:32 +09:00
d92c905600 Actually use exposed property 2022-04-24 18:15:35 +09:00
1caee38768 Add first-run "behaviour" screen to allow users a choice of more familiar UX 2022-04-22 18:06:56 +09:00
8fe4443029 Update screen method signatures to match framework API changes 2022-04-21 22:29:23 +02:00
ce70c10afa Tidy up unused dependencies 2022-04-19 18:00:39 +09:00
1490502d4c Improve overall usability of scale adjust screen 2022-04-19 16:59:04 +09:00
c27831145c Add scroll and flow at the FirstRunSetupScreen level 2022-04-19 16:37:29 +09:00
e67cc293b8 Add localisation support for all new strings 2022-04-19 14:53:01 +09:00
ea52fab5b1 Tidy up dependencies and test naming 2022-04-19 14:53:01 +09:00
07da1cd731 Move buttons to top level and add backwards navigation 2022-04-19 14:53:01 +09:00
3b94e01fe6 Improve layout of ui scale step 2022-04-19 14:53:01 +09:00
e064f2f23e Improve general layout and allow overlay to be displayed without dependencies for now 2022-04-19 14:53:01 +09:00
c2df3465b2 Add ui scaling setup screen, kind of 2022-04-19 14:53:01 +09:00
ae07b2b512 Initial setup 2022-04-19 14:53:01 +09:00