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

Commit

Permalink
fix: drag speed about offset.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Jul 20, 2023
1 parent b6ada1e commit ba4fe04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ActionTimelineEx/Windows/SettingsWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ private void DrawGeneralSetting()
ImGui.SameLine();
ImGui.NewLine();

ImGui.Text("Don't record these status.");
ImGui.Text("Don't record these statuses.");

if (ImGui.BeginChild("ExceptStatus", new Vector2(0f, -1f), true))
{
Expand Down Expand Up @@ -307,7 +307,7 @@ private bool RemoveValue(string name)
private bool DrawGeneralTab(DrawingSettings settings)
{
ImGui.InputText("Name", ref settings.Name, 32);
var result = Plugin.Settings.TimelineSettings.Count > 1 ? RemoveValue(settings.Name) : false;
var result = Plugin.Settings.TimelineSettings.Count > 1 && RemoveValue(settings.Name);

ImGui.Checkbox("Enable", ref settings.Enable);
ImGui.Checkbox("Is Rotation", ref settings.IsRotation);
Expand Down Expand Up @@ -343,7 +343,7 @@ private void DrawIconsTab(DrawingSettings settings)
{
ImGui.Indent();
ImGui.DragInt("Off GCD Icon Size", ref settings.OGCDIconSize, 0.2f, 1, 100);
ImGui.DragFloat("Iff GCD Vertical Offset", ref settings.OGCDOffset, 0.1f, 0, 1);
ImGui.DragFloat("Iff GCD Vertical Offset", ref settings.OGCDOffset, 0.01f, 0, 1);
ImGui.Unindent();
}

Expand Down

0 comments on commit ba4fe04

Please sign in to comment.