Skip to content

Commit

Permalink
[Configuration] QueuePulseCol to vec3 and reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
CaiClone committed Sep 8, 2024
1 parent ff8de68 commit 5c23ff9
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public class Configuration : IPluginConfiguration
public int BarGradMode = 2;
public int BarBgGradMode = 3;

public Vector4 QueuePulseCol = new(1f, 1f, 1f, 1f);
public Vector3 QueuePulseCol = new(1f, 1f, 1f);

//CastBar
public bool CastBarEnabled = false;
Expand Down Expand Up @@ -650,6 +650,10 @@ public void DrawConfig(float x_size, float y_size) {
ImGui.SameLine();
ImGui.Checkbox("Height##queue", ref pulseBarHeightAtQueue);
ImGui.Unindent();
if (pulseBarColorAtQueue) {
ImGui.NewLine();
ImGui.ColorEdit3("Queuelock Pulse Color", ref QueuePulseCol);
}
ImGui.Text("Pulse GCDWheel @ Queue Lock");
ImGui.Indent();
ImGui.Checkbox("Size", ref pulseWheelAtQueue);
Expand All @@ -658,8 +662,6 @@ public void DrawConfig(float x_size, float y_size) {
ImGui.NewLine();
ImGui.Checkbox("Reduce Pulse Magnitude (Subtle Pulses)", ref subtlePulses);
ImGui.NewLine();
ImGui.ColorEdit4("Queuelock Pulse Color", ref QueuePulseCol);
ImGui.NewLine();
ImGui.Checkbox("Draw Floating Triangles", ref FloatingTrianglesEnable);
if (FloatingTrianglesEnable){
ImGui.Indent();
Expand All @@ -668,10 +670,10 @@ public void DrawConfig(float x_size, float y_size) {
ImGui.Checkbox("Draw Queuelock Triangle", ref QueuelockTriangleEnable);
ImGui.Checkbox("Only Show Trianges When Green", ref OnlyGreenTriangles);
ImGui.Unindent();
ImGui.Checkbox("Move/resize Triangles", ref WindowMoveableSQI);
if (WindowMoveableSQI)
ImGui.TextDisabled("\tWindow being edited, may ignore further visibility options.");
}
ImGui.Checkbox("Move/resize Triangles", ref WindowMoveableSQI);
if (WindowMoveableSQI)
ImGui.TextDisabled("\tWindow being edited, may ignore further visibility options.");
}
if (ImGui.Button("Reset All Settings to Default"))
showResetConfirmation = true;
Expand Down

0 comments on commit 5c23ff9

Please sign in to comment.