mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 09:57:21 +09:00
add ToolbarWikiButton
This commit is contained in:
parent
416e08ae7a
commit
25f2c582e7
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user