1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 18:27:26 +08:00

add ToolbarWikiButton

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-04-22 16:15:20 +07:00
parent 416e08ae7a
commit 25f2c582e7
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2

View 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;
}
}
}