Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: Added indent/unindent to make Param->Action look cleaner.
Browse files Browse the repository at this point in the history
  • Loading branch information
RiotNOR committed May 14, 2023
1 parent 3d50368 commit ef29552
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions RotationSolver/UI/RotationConfigWindow_Param.cs
Original file line number Diff line number Diff line change
Expand Up @@ -279,21 +279,25 @@ private void DrawParamAction()

if(Basic.Configuration.PluginConfiguration.GetValue(SettingsCommand.UseAOEAction))
{
ImGui.Indent();
DrawCheckBox(LocalizationManager.RightLang.ConfigWindow_Param_UseAOEWhenManual,
SettingsCommand.UseAOEWhenManual);

DrawCheckBox(LocalizationManager.RightLang.ConfigWindow_Param_NoNewHostiles,
ref Service.Config.NoNewHostiles, Service.Default.NoNewHostiles,
LocalizationManager.RightLang.ConfigWindow_Params_NoNewHostilesDesc);
ImGui.Unindent();
}

DrawCheckBox(LocalizationManager.RightLang.ConfigWindow_Param_PreventActionsIfOutOfCombat,
SettingsCommand.PreventActions);

if (Basic.Configuration.PluginConfiguration.GetValue(SettingsCommand.PreventActions))
{
ImGui.Indent();
DrawCheckBox(LocalizationManager.RightLang.ConfigWindow_Param_PreventActionsIfDutyRing,
SettingsCommand.PreventActionsDuty);
ImGui.Unindent();
}

ImGui.Separator();
Expand Down

0 comments on commit ef29552

Please sign in to comment.