Commit Graph

34 Commits

Author SHA1 Message Date
0e2ccac33b Add spaces to comments 2020-05-04 18:36:24 -07:00
64a9b9c6fb Remove redundant using directives 2020-02-16 21:52:08 +01:00
4d180a685a Adjust font sizes and spacing in BeatmapSetOverlay 2020-02-16 21:43:33 +01:00
0bfadfbbf1 Apply precision when comparing adjusted values
In some cases, applying the Difficulty Adjust mod without actually
changing any of the settings previously caused the bar in song select
beatmap details to appear red/blue instead of staying white.

This was caused by not accounting for floating-point imprecisions when
determining bar colour in AdvancedStats. To resolve, first check
equality with tolerance, and only then apply blue/red colours if that
equality check does not hold.
2020-02-01 16:16:15 +01:00
a74d22d9e5 Extract beatmap stats test to separate scene 2020-02-01 15:50:33 +01:00
12ff51f686 Fix key count being incorrectly adjusted by hard/easy mods 2020-01-28 17:21:50 +09:00
b5ac707c6c Remove unnecessary directive 2020-01-12 21:09:48 +01:00
aa2645502c Fix adjusted value always being 0 2020-01-12 20:43:48 +01:00
a6bdf04f6b Remove unused using 2019-12-20 18:36:39 +09:00
822903d5db Update song select statistics when mod changes settings 2019-12-20 18:01:35 +09:00
8e651962c7 Fix incorrectly binding inside BDL load() 2019-12-18 17:41:30 +09:00
ada2ae2b2c Use tuple to avoid potential for incorrect display 2019-12-18 17:12:41 +09:00
e87aa281bf Don't clone beatmap unnecessarily 2019-12-18 17:00:35 +09:00
3945e7403a improve tests and refactor AdvancedStats 2019-12-13 09:39:54 +08:00
ec5b506960 apply mod difficulty settings during song select 2019-12-12 23:41:46 +08:00
fccdbffa93 Use MathF instead of Math- functions when possible
MathF-functions are faster than the Math-counterpart and it looks cleaner, so use MathF when we cast to float or int anyway.
2019-11-25 00:45:42 +01:00
0788a7e9f1 Merge branch 'master' into more-inspections 2019-02-28 14:32:57 +09:00
42be7857d1 Use expression body for property get/set where possible 2019-02-28 13:58:19 +09:00
26d53d06a9 Fix remaining issues 2019-02-28 13:31:40 +09:00
a2aa3ec5cb Adjust sprite texts in-line with framework changes 2019-02-20 15:03:20 +09:00
8617aaa2a7 Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
f27bd3ef3e OpenTK -> osuTK 2018-11-20 17:14:59 +09:00
1be2571d33 Make BeatmapSetOverlay accept nulls everywhere 2018-04-18 16:08:45 +09:00
32a74f95a5 Normalize all the line endings 2018-04-13 18:26:38 +09:00
37d393bca0 Update licence headers 2018-01-05 20:21:19 +09:00
5d5ea5fb2e Fix all remaining db structure issues 2017-10-19 14:05:11 +09:00
b178be21d1 Let's not rename columns yet 2017-10-14 14:30:58 +09:00
887aa7496b Rework EF Core usage in model classes 2017-10-06 00:23:26 +03:00
6a4198d0d6 Initial EF Core commit 2017-10-04 22:52:12 +03:00
f129902ee0 Avoid nullrefs when data is not present 2017-09-25 23:35:02 +08:00
55e8bdfb05 CI fixes. 2017-09-07 15:38:23 -03:00
109531b66c Cleanup, remove unneeded files. 2017-09-07 15:21:18 -03:00
fd2700a5b4 Fix .00 being displayed for star difficulty when the value is 0. 2017-09-07 15:01:31 -03:00
5e685ff5b1 Rewrite BeatmapDetails to be more modular for future code sharing. 2017-09-07 14:53:53 -03:00