// Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Configuration; using osu.Game.Graphics.UserInterface; namespace osu.Game.Overlays.Options { public class OptionTextBox : OsuTextBox { private Bindable bindable; public Bindable Bindable { set { bindable = value; Current.BindTo(bindable); if (value?.Disabled ?? true) Alpha = 0.3f; } } } }