chore: run code cleanup

This commit is contained in:
2025-10-17 03:12:34 -04:00
parent f1d376174b
commit b556351010
9 changed files with 50 additions and 48 deletions
+2 -2
View File
@@ -2,9 +2,9 @@
using Vortice.Direct3D; using Vortice.Direct3D;
using Vortice.Direct3D11; using Vortice.Direct3D11;
using Vortice.DXGI; using Vortice.DXGI;
using Size = System.Drawing.Size;
using Rectangle = System.Drawing.Rectangle;
using Point = System.Drawing.Point; using Point = System.Drawing.Point;
using Rectangle = System.Drawing.Rectangle;
using Size = System.Drawing.Size;
namespace Spectrum.Detection namespace Spectrum.Detection
{ {
+1 -1
View File
@@ -1,8 +1,8 @@
using ImGuiNET; using ImGuiNET;
using OpenCvSharp; using OpenCvSharp;
using Spectrum.Input;
using System.Globalization; using System.Globalization;
using System.Numerics; using System.Numerics;
using Spectrum.Input;
namespace Spectrum namespace Spectrum
{ {
+1 -1
View File
@@ -107,7 +107,7 @@ namespace Spectrum
ImGui.TextUnformatted("Movement Path"); ImGui.TextUnformatted("Movement Path");
ImGui.SameLine(ImGui.GetContentRegionAvail().X - 9); ImGui.SameLine(ImGui.GetContentRegionAvail().X - 9);
if (ImGui.Button(_showMovementPreview ? "X" : "?", new Vector2(20,20))) if (ImGui.Button(_showMovementPreview ? "X" : "?", new Vector2(20, 20)))
_showMovementPreview = !_showMovementPreview; _showMovementPreview = !_showMovementPreview;
ImGui.SetNextItemWidth(-1); ImGui.SetNextItemWidth(-1);
MovementType AimPath = config.AimMovementType; MovementType AimPath = config.AimMovementType;
+2
View File
@@ -11,6 +11,8 @@
<AllowUnsafeBlocks>True</AllowUnsafeBlocks> <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<TargetFrameworks></TargetFrameworks> <TargetFrameworks></TargetFrameworks>
<Platforms>AnyCPU;x64</Platforms> <Platforms>AnyCPU;x64</Platforms>
<UIMode Condition="'$(Configuration)' == 'WebUI'">Web</UIMode>
<UIMode Condition="'$(Configuration)' != 'WebUI'">ImGui</UIMode>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>