mirror of
https://github.com/ppy/osu-tools.git
synced 2025-06-11 10:18:12 +09:00
23 lines
651 B
C#
23 lines
651 B
C#
// 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.Game.Graphics.UserInterfaceV2;
|
|
|
|
namespace PerformanceCalculatorGUI.Components.TextBoxes
|
|
{
|
|
public partial class ExtendedLabelledTextBox : LabelledTextBox
|
|
{
|
|
public new const float CORNER_RADIUS = 8;
|
|
|
|
public bool CommitOnFocusLoss
|
|
{
|
|
get => Component.CommitOnFocusLost;
|
|
set => Component.CommitOnFocusLost = value;
|
|
}
|
|
|
|
public ExtendedLabelledTextBox()
|
|
{
|
|
CornerRadius = CORNER_RADIUS;
|
|
}
|
|
}
|
|
}
|