Commit Graph

366 Commits

Author SHA1 Message Date
6944151486 Apply batch fixing of built-in types using var 2021-10-27 13:04:41 +09:00
1ae6621c85 Fix a missed toast shortcut string not localising correctly 2021-10-22 15:45:48 -07:00
8672b3325a Fix a couple more weird variable names 2021-10-19 17:22:50 +09:00
61670a70b6 Tidy up tracked settings code syntax and fix remaining issue 2021-10-19 17:21:07 +09:00
192cfe8717 Replace unnecessary ToString call
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2021-10-19 16:42:07 +09:00
c97cfdd978 Merge branch 'master' into localise-toasts 2021-10-19 16:37:14 +09:00
59202d27c7 Add some missing labels 2021-10-12 15:09:59 +09:00
4fc84e71cd Localise more toast related strings 2021-10-11 01:02:26 -07:00
4b01c23c11 Track ui scale setting 2021-10-10 19:55:02 -07:00
545cfc7bf1 Localise tracked setting toasts 2021-10-10 19:35:25 -07:00
4f1db5af40 Attach migration memo to DatabasedSetting class for visibility 2021-09-15 17:25:07 +09:00
a1d325cb22 Mark key and value non-nullable (at realm end) and simplify Value logic 2021-09-15 17:16:05 +09:00
a150fb2996 Add nullability directive and make variant non-nullable 2021-09-15 17:16:05 +09:00
dcfe9c67e3 Make ruleset id non-nullable 2021-09-15 17:12:04 +09:00
80ecf81be3 Rename all databased setting classes to be specific to rulesets for now 2021-09-15 17:12:04 +09:00
520e550764 Bring back SettingsStore to avoid changing ruleset API for now
Also fixes some remaining test failures due to locally constructed
rulesets that are not being tracked by the game.
2021-09-15 17:12:02 +09:00
ac377a2e3c Remove unused SettingsStore 2021-09-15 16:31:13 +09:00
a2f1752344 Make settings works with current caching structure
Will likely pull out that `RulesetConfigCache` next, but this is an
"everything works" state.
2021-09-15 16:31:13 +09:00
187c557ea8 Begin migrating settings implementation across to realm 2021-09-15 16:22:14 +09:00
41a2e6eeeb Fix cache not actually caching anything 2021-09-09 14:56:39 +09:00
a622a0b660 Use a more traditional method of caching 2021-09-08 23:18:17 +09:00
81c9d831f4 Cache reflection portion of SettingSource lookups
Fixes the mod-related overhead portion of https://github.com/ppy/osu/issues/14638. There's still a significant performance issue that will be addressed separately.
2021-09-08 13:26:11 +09:00
71fab416d8 Add a note against OsuSetting 2021-08-16 16:59:59 +09:00
fc89f2bac4 Revert "Rename element in OsuSettings enum"
This reverts commit c2bbe17562.
2021-08-16 16:56:48 +09:00
c2bbe17562 Rename element in OsuSettings enum
`ShowProgressGraph` -> `ShowDifficultyGraph`
2021-08-14 22:35:15 +08:00
50c27d2635 Update usages of IHasTooltip in line with framework localisation changes 2021-06-25 19:10:04 +02:00
93edb25ace Override CreateMenu instead of using a property 2021-06-24 14:32:43 -07:00
bae42a8908 Add inline comment explaining why the height is set lower 2021-06-23 14:07:37 +09:00
59928a7d91 Decrease the max height of dropdown menus in mod settings 2021-06-22 13:32:45 -07:00
17347401cf Remove unused RankingType enum
We have `BeatmapLeaderboardScope` instead.
2021-06-14 11:27:46 +09:00
20759657de Rename configuration variables and refactor lots more 2021-06-11 16:37:31 +09:00
39c3b08fc7 Merge remote-tracking branch 'upstream/master' into chat-mention 2021-06-05 11:18:06 +02:00
5b436ee436 add beatmap with storyboard source 2021-06-02 15:50:33 +08:00
88bdd8a7b7 Update some out of date code pieces 2021-05-26 16:01:21 +09:00
52ca2f4797 Merge branch 'master' into chat-mention 2021-05-26 16:00:26 +09:00
5acb708939 Remove customisation of hit error via standard settings 2021-05-18 15:50:50 +09:00
05bd6ee50c Add back ctor doc 2021-04-28 03:54:42 +09:00
04454062b7 Fix up xmldoc 2021-04-28 03:52:59 +09:00
4e3ee77396 Add support for custom controls to SettingSourceAttribute 2021-04-28 02:51:24 +09:00
9d8f0c854d Setup configuration item for editor hit animations 2021-04-21 18:05:40 +09:00
2b6caf9b65 Fix duplicate code in setting default logic 2021-04-19 11:25:43 +09:00
6773162f17 Implicitly set defaults when resetting values 2021-04-17 08:47:27 -04:00
a4e3e53a63 Revert back to hardcoded SessionStatics reset values 2021-04-16 06:34:57 -04:00
ec0211809f Apply peppy's suggestions 2021-04-16 05:53:27 -04:00
7d23973ef8 Reset SessionStatics on activity
Closes #12424
2021-04-16 05:01:58 -04:00
5b06a68b93 Merge pull request #12330 from Cublibre/master
Send a warning notification if device is unplugged and at low battery
2021-04-15 19:21:04 +09:00
b41e3a2e7a Remove unused using statement 2021-04-13 17:38:32 +09:00
0932daeaa8 Force the new default on update 2021-04-13 16:50:03 +09:00
5a06db8a11 Change default editor waveform opacity to 25%
The previous setting felt way too high.
2021-04-13 16:48:06 +09:00
b5954a55ad Remove empty <returns> xmldoc 2021-04-12 17:46:14 +09:00