1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 15:20:18 +08:00
Files
osu-lazer/osu.Game/Screens/Menu
T
Bartłomiej Dach 3931ae3499 Hack around hold-for-right-click mobile thing not allowing to hold to access song select v2 in main menu
This is terrible but I sincerely believe that anything else trying to do
this "properly" would be as terrible if not more.

- You can try to handle touch events in `MainMenu` but then you'd have
  to awkwardly still manually hand them off to mouse handlers of the
  logo / menu button in a weird way for them to do what they're supposed
  to be doing. So any fix here would likely be smeared across `OsuLogo`
  and `MainMenuButton` anyway.

- The logic in
  https://github.com/ppy/osu/blob/278a372a907c22f04fe28289c305ef47d5bcef45/osu.Game/Screens/Menu/MainMenu.cs#L517-L520
  fundamentally doesn't work with raw touch events because it doesn't
  check for active touches (easy part) and because drawables do not
  become "hovered" in the input manager from being touched (hard part)

I'm not willing to spend any more time on this.
3931ae3499 · 2025-06-06 07:56:22 +02:00
History
..
2024-02-02 21:00:28 +09:00
2024-07-10 18:17:10 +02:00
2022-11-27 00:00:27 +09:00
2022-11-27 00:00:27 +09:00
2022-11-27 00:00:27 +09:00
2025-03-18 16:49:44 +09:00
2024-11-23 20:13:57 -05:00
2025-03-18 16:49:44 +09:00