1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 05:17:29 +08:00
Commit Graph

24 Commits

Author SHA1 Message Date
Dan Balasescu
f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
Salman Ahmed
b0d7104650 Convert to class to allow not displaying tooltips
With `struct` content, it is never possible to not show a tooltip.
2021-08-31 21:13:24 +03:00
Salman Ahmed
3969350c9a Convert to readonly struct and replace with constructor temporarily 2021-08-31 20:45:32 +03:00
Salman Ahmed
208f66cc76 Simplify user graph tooltips logic
The same tooltip can be used for the rank graph, the play history graph,
and the replay history graph.

The only difference between those three is the displayed label, which
has now been included as part of the `TooltipContent`, rather than
unnecessarily recreating tooltips just for different sprite texts.
2021-08-31 19:59:38 +03:00
Dean Herbert
fa2bf42188 Update tooltip implementations 2021-08-30 16:05:00 +09:00
Lucas A
a0c6945f8f Localise user graph. 2021-07-17 15:25:45 +02:00
Andrei Zavatski
6c428d8b11 Merge master with conflicts resolved 2020-11-11 01:37:01 +03:00
Bartłomiej Dach
af7d6d0a4e Invert data length checks for consistency 2020-03-21 14:45:32 +01:00
Bartłomiej Dach
d167e0c8b9 Mark properties as [CanBeNull] 2020-03-21 14:35:04 +01:00
Bartłomiej Dach
299ea23612 Clean up xmldocs 2020-03-21 14:26:49 +01:00
Andrei Zavatski
d2b4856d13 Add more xmldoc 2020-03-10 01:02:09 +03:00
Andrei Zavatski
2f441baeac Make UserHistoryGraph non-abstract 2020-03-10 00:50:12 +03:00
Andrei Zavatski
f6461dc5f8 Add more consistency to data null checks 2020-03-10 00:19:28 +03:00
Andrei Zavatski
d6adc06f6e Add xmldoc 2020-03-09 20:13:59 +03:00
Andrei Zavatski
06855c09c7 Make data nullable 2020-03-09 19:42:35 +03:00
Andrei Zavatski
bea2b70948 Adjust OnHover syntax 2020-03-09 19:22:03 +03:00
Bartłomiej Dach
b1de47a6af Adjust graph sizings to match web 2020-03-05 20:34:33 +01:00
Bartłomiej Dach
60a1dad67d Explicitly handle hover event 2020-02-12 20:35:31 +01:00
Bartłomiej Dach
9edddbaf46 Encapsulate base graph further 2020-02-12 20:19:20 +01:00
Bartłomiej Dach
2b0bdd1db5 Refactor tooltip construction 2020-02-12 19:15:37 +01:00
Andrei Zavatski
e2ecef732c Make TooltipCounterName an abstract property 2020-02-09 00:36:41 +03:00
Andrei Zavatski
9e5da60614 Rename RankChartLineGraph to UserLineGraph 2020-02-09 00:28:38 +03:00
Andrei Zavatski
b325725c45 Implement UserHistoryGraph component 2020-02-08 00:10:17 +03:00
Andrei Zavatski
84b7dfb3d6 Implement UserGraph component
An abstraction for RankGraph
2020-02-07 23:26:35 +03:00