compact menu redesign with new animated particle header, enable particles toggle added in UI settings
This commit is contained in:
@@ -47,6 +47,8 @@ public class AnimatedHeader
|
||||
public Vector4 BottomColor { get; set; } = new(0.12f, 0.08f, 0.20f, 1.0f);
|
||||
public bool EnableParticles { get; set; } = true;
|
||||
public bool EnableBottomGradient { get; set; } = true;
|
||||
|
||||
public float GradientHeight { get; set; } = 60f;
|
||||
|
||||
/// <summary>
|
||||
/// Draws the animated header with some customizable content
|
||||
@@ -171,7 +173,7 @@ public class AnimatedHeader
|
||||
private void DrawBottomGradient(Vector2 headerStart, Vector2 headerEnd, float width)
|
||||
{
|
||||
var drawList = ImGui.GetWindowDrawList();
|
||||
var gradientHeight = 60f;
|
||||
var gradientHeight = GradientHeight;
|
||||
|
||||
for (int i = 0; i < gradientHeight; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user