Adding collections background color in global settings
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
|
||||
|
||||
using System;
|
||||
using FlaxEngine.GUI;
|
||||
|
||||
namespace FlaxEngine
|
||||
{
|
||||
@@ -36,8 +37,8 @@ namespace FlaxEngine
|
||||
public float Spacing;
|
||||
|
||||
/// <summary>
|
||||
/// Background color of the collection.
|
||||
/// The collection background color.
|
||||
/// </summary>
|
||||
public Color BackgroundColor = new Color(1f, 1f, 1f, 0.08f);
|
||||
public Color BackgroundColor = Style.Current.CollectionBackgroundColor;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -221,6 +221,7 @@ namespace FlaxEngine
|
||||
TextBoxBackground = Color.FromBgra(0xFF333337),
|
||||
ProgressNormal = Color.FromBgra(0xFF0ad328),
|
||||
TextBoxBackgroundSelected = Color.FromBgra(0xFF3F3F46),
|
||||
CollectionBackgroundColor = Color.FromBgra(0x16FFFFFF),
|
||||
SharedTooltip = new Tooltip(),
|
||||
};
|
||||
style.DragWindow = style.BackgroundSelected * 0.7f;
|
||||
|
||||
Reference in New Issue
Block a user