mirror of
https://github.com/whoswhip/Spectrum.git
synced 2026-12-06 01:28:42 +00:00
chore: run code cleanup
This commit is contained in:
@@ -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,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
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user