Move link handling code to OsuGame

This allows for future calls from arguments / associations
This commit is contained in:
Dean Herbert
2019-11-01 11:40:51 +09:00
parent c18cb354fd
commit 898520935e
5 changed files with 92 additions and 86 deletions

View File

@ -81,7 +81,7 @@ namespace osu.Game.Screens.Multi.Components
Text = new LocalisedString((beatmap.Metadata.TitleUnicode, beatmap.Metadata.Title)),
Font = OsuFont.GetFont(size: TextSize),
}
}, null, LinkAction.OpenBeatmap, beatmap.OnlineBeatmapID.ToString(), "Open beatmap");
}, LinkAction.OpenBeatmap, beatmap.OnlineBeatmapID.ToString(), "Open beatmap");
}
}
}