1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-12 01:07:25 +08:00
osu-lazer/osu.Game/Overlays/Mods
Dean Herbert 435bdd0b4a Combine and simplify state management logic
This makes a few changes to bring things into a better shape during
mouse interactions with the mod panels:

- Dragging away from the panel now works in line with other buttons (ie.
  `OsuButton`)
- Hovering now uses a lightened version of the current state, rather
  than always using the active colour. I think this feels better.
- Mouse down now uses a transform point of 0.5. This is to give the
  button a feeling of one of those latching light switches which resists
until reaching a point of overcoming the spring and switching state. I
think 0.4 (non-active) and 0.6 (from active) may work better, but left
at 0.5 for simplicity of implementation and I think it's good enough?
- Border always uses the gradiented version. I did this for simplicity
  of implementation, but also think it looks better.
- Adjusted transform durations to feel better to me.
2022-02-24 15:25:30 +09:00
..
IncompatibilityDisplayingModButton.cs Move out incompatibility displaying tooltip to own class 2022-02-23 23:18:15 +01:00
IncompatibilityDisplayingModPanel.cs Implement incompatibility-displaying variant of mod panel 2022-02-23 23:19:06 +01:00
IncompatibilityDisplayingTooltip.cs Move out incompatibility displaying tooltip to own class 2022-02-23 23:18:15 +01:00
IncompatibleIcon.cs Adjust visuals of incompatible icon and move to own class 2021-08-24 14:01:49 +09:00
ModButton.cs Revert no longer required tooltip content changes 2021-08-31 19:36:27 +03:00
ModButtonEmpty.cs Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
ModButtonTooltip.cs Revert no longer required tooltip content changes 2021-08-31 19:36:27 +03:00
ModControlSection.cs Move available mods to global context 2019-12-13 21:36:50 +09:00
ModPanel.cs Combine and simplify state management logic 2022-02-24 15:25:30 +09:00
ModSection.cs Apply batch fixing of built-in types using var 2021-10-27 13:04:41 +09:00
ModSelectOverlay.cs Update with keybinding changes 2021-09-16 18:26:12 +09:00
ModSettingsContainer.cs Fix mod settings showing scrollbar when screen is offset 2021-02-12 10:42:48 -08:00
UserModSelectOverlay.cs Rename LocalPlayer to User in mod select prefixes 2021-09-01 17:22:52 +09:00