nixos-config/pkgs/osu-lazer/0002-Remove-random-song-button-from-footer.patch

30 lines
1.1 KiB
Diff
Raw Normal View History

2023-01-10 17:22:58 +01:00
From 5281678cb08ed3e665966f9558167697989dca64 Mon Sep 17 00:00:00 2001
From: Simon Bruder <simon@sbruder.de>
Date: Fri, 9 Apr 2021 12:02:44 +0200
Subject: [PATCH 2/2] Remove random song button from footer
I often click it accidentally.
---
2021-04-17 10:24:04 +02:00
osu.Game/Screens/Select/SongSelect.cs | 5 -----
1 file changed, 5 deletions(-)
diff --git a/osu.Game/Screens/Select/SongSelect.cs b/osu.Game/Screens/Select/SongSelect.cs
2023-01-10 17:22:58 +01:00
index f4804c6a6c..dafc0e53f7 100644
--- a/osu.Game/Screens/Select/SongSelect.cs
+++ b/osu.Game/Screens/Select/SongSelect.cs
2023-01-10 17:22:58 +01:00
@@ -321,11 +321,6 @@ protected override bool OnScroll(ScrollEvent e)
protected virtual IEnumerable<(FooterButton, OverlayContainer)> CreateFooterButtons() => new (FooterButton, OverlayContainer)[]
{
(new FooterButtonMods { Current = Mods }, ModSelect),
2021-04-17 10:24:04 +02:00
- (new FooterButtonRandom
- {
- NextRandom = () => Carousel.SelectNextRandom(),
- PreviousRandom = Carousel.SelectPreviousRandom
- }, null),
2023-01-10 17:22:58 +01:00
(beatmapOptionsButton = new FooterButtonOptions(), BeatmapOptions)
};
--
2023-01-10 17:22:58 +01:00
2.38.1