mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-19 22:37:46 +01:00
Compare commits
3 commits
71e24c13c7
...
be8987a451
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be8987a451 | ||
|
|
f7cf5503bb | ||
|
|
a04a5a071c |
3 changed files with 24 additions and 2 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit af41b1787acef9df7dc83619fe81e63a36443ee5
|
||||
Subproject commit 953dd227afda6b3943b0b88cc965d8aee8a879b5
|
||||
|
|
@ -84,7 +84,7 @@ public class PcpService : IApiService, IDisposable
|
|||
var collections = _collections.Storage.Where(c => c.Identity.Name.StartsWith("PCP/")).ToList();
|
||||
Penumbra.Log.Information($"[PCPService] Deleting {collections.Count} mods containing the tag PCP.");
|
||||
foreach (var collection in collections)
|
||||
_collections.Storage.Delete(collection);
|
||||
_collections.Storage.RemoveCollection(collection);
|
||||
}
|
||||
|
||||
private void OnModPathChange(ModPathChangeType type, Mod mod, DirectoryInfo? oldDirectory, DirectoryInfo? newDirectory)
|
||||
|
|
|
|||
|
|
@ -287,6 +287,17 @@ public partial class ModEditWindow
|
|||
using var font = ImRaii.PushFont(UiBuilder.IconFont);
|
||||
ImGuiUtil.TextColored(0xFF0000FF, FontAwesomeIcon.TimesCircle.ToIconString());
|
||||
}
|
||||
else if (tmp.Length > 0 && Path.GetExtension(tmp) != registry.File.Extension)
|
||||
{
|
||||
ImGui.SameLine();
|
||||
ImGui.SetCursorPosX(pos);
|
||||
using (var font = ImRaii.PushFont(UiBuilder.IconFont))
|
||||
{
|
||||
ImGuiUtil.TextColored(0xFF00B0B0, FontAwesomeIcon.ExclamationCircle.ToIconString());
|
||||
}
|
||||
|
||||
ImUtf8.HoverTooltip("The game path and the file do not have the same extension."u8);
|
||||
}
|
||||
}
|
||||
|
||||
private void PrintNewGamePath(int i, FileRegistry registry, IModDataContainer subMod)
|
||||
|
|
@ -319,6 +330,17 @@ public partial class ModEditWindow
|
|||
using var font = ImRaii.PushFont(UiBuilder.IconFont);
|
||||
ImGuiUtil.TextColored(0xFF0000FF, FontAwesomeIcon.TimesCircle.ToIconString());
|
||||
}
|
||||
else if (tmp.Length > 0 && Path.GetExtension(tmp) != registry.File.Extension)
|
||||
{
|
||||
ImGui.SameLine();
|
||||
ImGui.SetCursorPosX(pos);
|
||||
using (var font = ImRaii.PushFont(UiBuilder.IconFont))
|
||||
{
|
||||
ImGuiUtil.TextColored(0xFF00B0B0, FontAwesomeIcon.ExclamationCircle.ToIconString());
|
||||
}
|
||||
|
||||
ImUtf8.HoverTooltip("The game path and the file do not have the same extension."u8);
|
||||
}
|
||||
}
|
||||
|
||||
private void DrawButtonHeader()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue