1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-31 05:32:58 +08:00
Commit Graph

59 Commits

Author SHA1 Message Date
Salman Ahmed
018da74fe8 Replace default with CountryCode.Unknown 2022-07-18 08:54:35 +03:00
Salman Ahmed
100c53f9ef Country -> CountryCode 2022-07-18 08:40:34 +03:00
Salman Ahmed
4968859e69 Rename placeholder display flag property to make sense 2022-07-16 06:07:53 +03:00
Salman Ahmed
e62049f4a9 Update various usages of Country inline with new enum 2022-07-16 05:04:24 +03:00
Dan Balasescu
f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
Bartłomiej Dach
f88c568c8d
Update flag sizes after switch to twemoji assets
The old flags used a size of 150x100, while the new assets based on
twemoji use a size of 150x108. Update existing usages to match this new
aspect ratio better.
2022-06-15 21:45:47 +02:00
Huo Yaoyuan
7cf4dabe29 Fix IDE0005 and IDE0034 2022-05-03 13:09:19 +08:00
Salman Ahmed
be2d616e34 Fix localisation use cases not falling back to default(LocalisableString)
Previously such use cases have been returning `null` values just fine since `GetLocalisableString` was returning `LocalisableFormattableString`, and these null values were wrapped in `LocalisableString`s implicitly, therefore not requiring an explicit fallback string and `null` doesn't break anything.
2022-04-28 11:21:00 +03:00
Bartłomiej Dach
2e9ba40ae2
Add references to web implementation wrt property used 2022-01-09 14:46:15 +01:00
Bartłomiej Dach
12c8243a9b
Fade out inactive player rows on user ranking table 2022-01-09 14:42:26 +01:00
Salman Ahmed
6dc11543ad Handle (null?) PP in PerformanceTable 2021-08-29 17:20:33 +03:00
Salman Ahmed
e374ef163d Update localisable formattable extensions usages inline with framework change 2021-08-29 15:00:28 +03:00
Dean Herbert
c082498955 Fix some missed instances of verbatim string conversion 2021-07-31 14:29:38 +09:00
Dean Herbert
e6f337a3c8 User verbatim string for ToLocalisableString calls (and rename US spelling) 2021-07-31 14:27:20 +09:00
Lucas A
5381e11880 Revert unintentional change. 2021-07-30 19:06:25 +02:00
Lucas A
db1ed873e4 Localise ranking tables. 2021-07-30 15:24:10 +02:00
Bartłomiej Dach
59a33b5d02
Uncouple display logic from text in rankings overlay tables 2021-07-29 22:23:47 +02:00
Bartłomiej Dach
239b38a0ab
Reduce implicit conversions by using default 2021-07-27 21:46:29 +02:00
Lucas A
94877117b9 Apply changes in-line with framework changes. 2021-07-27 18:22:47 +02:00
Dean Herbert
e42609f092
Merge pull request #8038 from thewildtree/adjust-rankings-overlay
Adjust rankings overlay elements to better match osu-web
2021-07-07 20:24:11 +09:00
PercyDan54
e1c646b9b2
Remove redundant arguments 2021-07-05 23:52:39 +08:00
TheWildTree
db55b98ed3 Move grade column spacing logic to UserBasedTable 2020-03-15 22:03:54 +01:00
TheWildTree
f1e54d2745 Apply suggestions 2020-03-15 18:32:12 +01:00
TheWildTree
280a009784 Fix header colours being flipped 2020-03-15 18:31:44 +01:00
TheWildTree
06642dc7ff Improve HeaderText highlight and spacing logic 2020-03-04 18:20:55 +01:00
TheWildTree
276a90fb84 Use public property instead of ctor parameter 2020-03-04 18:19:28 +01:00
TheWildTree
e09fbcb05f Only add link if the country name isn't null 2020-03-04 17:47:48 +01:00
TheWildTree
92da7132cd Fix code quality issues 2020-02-27 23:51:21 +01:00
TheWildTree
1d6746102f Adjust user links 2020-02-27 23:51:21 +01:00
TheWildTree
9e4a6a9cf3 Add spacing between RankingsTable rows to match osu-web 2020-02-27 23:51:21 +01:00
TheWildTree
f03ada65dd Adjust grade columns spacing 2020-02-27 23:51:21 +01:00
TheWildTree
82cbd35e30 Make CountryName use LinkFlowContainer for consistency 2020-02-27 23:51:21 +01:00
Andrei Zavatski
7b0c3281c2 Make country names clickable 2020-02-19 16:49:39 +03:00
Andrei Zavatski
f64eabc38b Make countries name non-italic 2020-02-14 20:49:37 +03:00
Andrei Zavatski
c68c347503 Remove unwanted property interpolation 2020-02-14 00:40:52 +03:00
Andrei Zavatski
791bf6bc01 Make username text italic 2020-02-13 19:03:07 +03:00
Andrei Zavatski
e67e4f708e Adjust country name design 2020-02-13 19:01:26 +03:00
Andrei Zavatski
a9cfade2f4 Adjust null handling 2020-02-04 21:02:10 +03:00
Andrei Zavatski
f889f2435b Add test step to TestSceneRankingsTable 2020-02-04 16:20:15 +03:00
Andrei Zavatski
524a8ba6c6 Merge remote-tracking branch 'refs/remotes/ppy/master' into rankings-overlay-update 2020-02-04 11:19:13 +03:00
Andrei Zavatski
824ee8a888 Recolour rankings tables 2020-02-03 21:22:37 +03:00
recapitalverb
4dfdd98e8b Use UserStatistics.DisplayAccuracy everywhere 2020-02-03 22:12:34 +07:00
Dean Herbert
e678fe7a77 Move potentially expensive load to BDL 2019-11-29 15:35:33 +09:00
Andrei Zavatski
83e3ad9e69 Make Rankings a ctor variable 2019-11-28 20:09:05 +03:00
Dean Herbert
aa9776d51a seal and compact rows 2019-11-28 19:07:43 +09:00
Andrei Zavatski
8077c86d13 CI fixes 2019-11-27 23:58:31 +03:00
Andrei Zavatski
800bda7e81 Refactor tables to avoid code duplication 2019-11-27 23:35:02 +03:00
Andrei Zavatski
c546df8a80 Refactor API logic 2019-11-27 21:56:22 +03:00
Andrei Zavatski
2135a7fd7b Don't use repetitive headers in each class 2019-11-27 21:46:41 +03:00
Andrei Zavatski
4cf5968026 Simplify place calculation 2019-11-27 21:39:38 +03:00