From 69d290c890de2858ba355a76cb58292bf629501c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Dec 2023 04:10:18 +0000 Subject: [PATCH 1/2] Bump ppy.osu.Game from 2023.1114.1 to 2023.1224.0 Bumps [ppy.osu.Game](https://github.com/ppy/osu) from 2023.1114.1 to 2023.1224.0. - [Release notes](https://github.com/ppy/osu/releases) - [Commits](https://github.com/ppy/osu/compare/2023.1114.1...2023.1224.0) --- updated-dependencies: - dependency-name: ppy.osu.Game dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- osu.Game.Rulesets.Gamebosu/osu.Game.Rulesets.Gamebosu.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Gamebosu/osu.Game.Rulesets.Gamebosu.csproj b/osu.Game.Rulesets.Gamebosu/osu.Game.Rulesets.Gamebosu.csproj index 2cfe6e9..80500b8 100644 --- a/osu.Game.Rulesets.Gamebosu/osu.Game.Rulesets.Gamebosu.csproj +++ b/osu.Game.Rulesets.Gamebosu/osu.Game.Rulesets.Gamebosu.csproj @@ -10,7 +10,7 @@ - + From 1038d63f42557a707f984dc80e39159716e33734 Mon Sep 17 00:00:00 2001 From: Lucas A Date: Tue, 26 Dec 2023 18:32:55 +0100 Subject: [PATCH 2/2] Fix breaking change --- .../Graphics/GamebosuToolbarIcon.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/osu.Game.Rulesets.Gamebosu/Graphics/GamebosuToolbarIcon.cs b/osu.Game.Rulesets.Gamebosu/Graphics/GamebosuToolbarIcon.cs index 9eabf98..1c69c74 100644 --- a/osu.Game.Rulesets.Gamebosu/Graphics/GamebosuToolbarIcon.cs +++ b/osu.Game.Rulesets.Gamebosu/Graphics/GamebosuToolbarIcon.cs @@ -1,4 +1,6 @@ using osu.Framework.Allocation; +using osu.Framework.Graphics.Sprites; +using osu.Framework.Graphics.Textures; using osu.Framework.Screens; using osu.Game.Overlays.Toolbar; using osu.Game.Rulesets.Gamebosu.UI.Screens; @@ -17,9 +19,13 @@ public GamebosuToolbarIcon(GamebosuRuleset ruleset) } [BackgroundDependencyLoader] - private void load(OsuGame game) + private void load(OsuGame game, TextureStore textures) { - SetIcon("Textures/gamebosu_toolbar.png"); + SetIcon(new Sprite + { + Texture = textures.Get("Textures/gamebosu_toolbar.png") + }); + Action = () => { if (!game.LocalUserPlaying.Value)