1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-05 23:54:24 +08:00

add ToolbarWikiButton

This commit is contained in:
Gagah Pangeran Rosfatiputra
2021-04-22 16:15:20 +07:00
Unverified
parent 416e08ae7a
commit 25f2c582e7
@@ -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;
}
}
}