nixos-config/pkgs/osu-lazer/0002-Remove-random-song-button-from-footer.patch
Simon Bruder 62a17a54b4
pkgs/osu-lazer: Remove random song button from footer
This also reorganises the other patch I apply.
2021-04-09 12:09:45 +02:00

26 lines
1 KiB
Diff

From 60d879b1c35381fae221a4d38aba0959fda09e4a 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.
---
osu.Game/Screens/Select/SongSelect.cs | 1 -
1 file changed, 1 deletion(-)
diff --git a/osu.Game/Screens/Select/SongSelect.cs b/osu.Game/Screens/Select/SongSelect.cs
index b7f7c40539..efcabed687 100644
--- a/osu.Game/Screens/Select/SongSelect.cs
+++ b/osu.Game/Screens/Select/SongSelect.cs
@@ -307,7 +307,6 @@ private void load(AudioManager audio, DialogOverlay dialog, OsuColour colours, S
protected virtual IEnumerable<(FooterButton, OverlayContainer)> CreateFooterButtons() => new (FooterButton, OverlayContainer)[]
{
(new FooterButtonMods { Current = Mods }, ModSelect),
- (new FooterButtonRandom { Action = triggerRandom }, null),
(new FooterButtonOptions(), BeatmapOptions)
};
--
2.29.3