mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Merge branch 'master' into realm-key-binding-store
This commit is contained in:
@ -92,6 +92,7 @@ namespace osu.Game.Overlays.Toolbar
|
||||
new ToolbarBeatmapListingButton(),
|
||||
new ToolbarChatButton(),
|
||||
new ToolbarSocialButton(),
|
||||
new ToolbarWikiButton(),
|
||||
new ToolbarMusicButton(),
|
||||
//new ToolbarButton
|
||||
//{
|
||||
|
19
osu.Game/Overlays/Toolbar/ToolbarWikiButton.cs
Normal file
19
osu.Game/Overlays/Toolbar/ToolbarWikiButton.cs
Normal file
@ -0,0 +1,19 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics;
|
||||
|
||||
namespace osu.Game.Overlays.Toolbar
|
||||
{
|
||||
public class ToolbarWikiButton : ToolbarOverlayToggleButton
|
||||
{
|
||||
protected override Anchor TooltipAnchor => Anchor.TopRight;
|
||||
|
||||
[BackgroundDependencyLoader(true)]
|
||||
private void load(WikiOverlay wiki)
|
||||
{
|
||||
StateContainer = wiki;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user