mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Use constants.
This commit is contained in:
@ -22,7 +22,7 @@ namespace osu.Game.Overlays.Chat.Selection
|
||||
{
|
||||
public class ChannelSelectionOverlay : WaveOverlayContainer
|
||||
{
|
||||
public static readonly float WIDTH_PADDING = 170;
|
||||
public const float WIDTH_PADDING = 170;
|
||||
|
||||
private const float transition_duration = 500;
|
||||
|
||||
|
@ -14,7 +14,7 @@ namespace osu.Game.Overlays.Chat.Tabs
|
||||
{
|
||||
public class ChannelTabControl : OsuTabControl<Channel>
|
||||
{
|
||||
public static readonly float SHEAR_WIDTH = 10;
|
||||
public const float SHEAR_WIDTH = 10;
|
||||
|
||||
public Action<Channel> OnRequestLeave;
|
||||
|
||||
|
@ -21,8 +21,8 @@ namespace osu.Game.Overlays.Dialog
|
||||
{
|
||||
public abstract class PopupDialog : VisibilityContainer
|
||||
{
|
||||
public static readonly float ENTER_DURATION = 500;
|
||||
public static readonly float EXIT_DURATION = 200;
|
||||
public const float ENTER_DURATION = 500;
|
||||
public const float EXIT_DURATION = 200;
|
||||
|
||||
private readonly Vector2 ringSize = new Vector2(100f);
|
||||
private readonly Vector2 ringMinifiedSize = new Vector2(20f);
|
||||
|
@ -13,7 +13,7 @@ namespace osu.Game.Overlays.SearchableList
|
||||
{
|
||||
public abstract class SearchableListOverlay : FullscreenOverlay
|
||||
{
|
||||
public static readonly float WIDTH_PADDING = 80;
|
||||
public const float WIDTH_PADDING = 80;
|
||||
}
|
||||
|
||||
public abstract class SearchableListOverlay<T, U, S> : SearchableListOverlay
|
||||
|
Reference in New Issue
Block a user