mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-21 15:27:51 +01:00
Change all IPC Testers and all SameLines.
Some checks are pending
.NET Build / build (push) Waiting to run
Some checks are pending
.NET Build / build (push) Waiting to run
This commit is contained in:
parent
548b4a7cdc
commit
2d11a0ced8
78 changed files with 917 additions and 962 deletions
|
|
@ -2,6 +2,7 @@ using System.Collections.Frozen;
|
|||
using Dalamud.Bindings.ImGui;
|
||||
using Dalamud.Interface.ImGuiNotification;
|
||||
using Dalamud.Interface.Utility.Raii;
|
||||
using ImSharp;
|
||||
using OtterGui.Text;
|
||||
using Penumbra.Mods.Manager;
|
||||
using Penumbra.UI.Classes;
|
||||
|
|
@ -78,18 +79,18 @@ public static class FeatureChecker
|
|||
editor.ChangeRequiredFeatures(mod, mod.RequiredFeatures | flag);
|
||||
}
|
||||
|
||||
ImGui.SameLine();
|
||||
Im.Line.Same();
|
||||
}
|
||||
}
|
||||
|
||||
if (ImUtf8.ButtonEx("Compute"u8, "Compute the required features automatically from the used features."u8, size))
|
||||
editor.ChangeRequiredFeatures(mod, mod.ComputeRequiredFeatures());
|
||||
|
||||
ImGui.SameLine();
|
||||
Im.Line.Same();
|
||||
if (ImUtf8.ButtonEx("Clear"u8, "Clear all required features."u8, size))
|
||||
editor.ChangeRequiredFeatures(mod, FeatureFlags.None);
|
||||
|
||||
ImGui.SameLine();
|
||||
Im.Line.Same();
|
||||
ImUtf8.Text("Required Features"u8);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue