Skip to content

Commit

Permalink
Better draw tool layout
Browse files Browse the repository at this point in the history
  • Loading branch information
kaczy93 committed Dec 11, 2023
1 parent 20612ac commit 96b89b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CentrED/Tools/DrawTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ enum DrawMode
internal override void Draw()
{
ImGui.Checkbox("With Hue", ref _withHue);
ImGui.Text("Chance(?)");
ImGui.PushItemWidth(50);
ImGui.DragInt("Chance", ref _drawChance, 1, 0, 100);
ImGui.PopItemWidth();
UIManager.Tooltip("Double click to set specific value");
ImGui.SameLine();
ImGui.DragInt("", ref _drawChance, 1, 0, 100);
ImGui.RadioButton("On Top", ref _drawMode, (int)DrawMode.ON_TOP);
ImGui.RadioButton("Replace", ref _drawMode, (int)DrawMode.REPLACE);
ImGui.RadioButton("Same Postion", ref _drawMode, (int)DrawMode.SAME_POS);
Expand Down

0 comments on commit 96b89b2

Please sign in to comment.