1
0
Fork 0
mirror of https://github.com/ppy/osu-tools.git synced 2025-06-11 18:20:35 +09:00
osu-tools/PerformanceCalculatorGUI/Components/TextBoxes/ExtendedLabelledTextBox.cs

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