diff --git a/ActionTimelineEx/Configurations/Settings.cs b/ActionTimelineEx/Configurations/Settings.cs index 9fb6054..a27114c 100644 --- a/ActionTimelineEx/Configurations/Settings.cs +++ b/ActionTimelineEx/Configurations/Settings.cs @@ -32,6 +32,8 @@ public class Settings : IPluginConfiguration [UI("Record Target Status")] public bool RecordTargetStatus { get; set; } = true; + [UI("Show the donate link.")] + public bool ShowDonate { get; set; } = true; public List TimelineSettings = []; public HashSet HideStatusIds { get; set; } = []; diff --git a/ActionTimelineEx/Plugin.cs b/ActionTimelineEx/Plugin.cs index 15923c7..cb3bba5 100644 --- a/ActionTimelineEx/Plugin.cs +++ b/ActionTimelineEx/Plugin.cs @@ -66,7 +66,7 @@ public class Plugin : IDalamudPlugin public Plugin(DalamudPluginInterface pluginInterface) { ECommonsMain.Init(pluginInterface, this); - XIVConfigUIMain.Init(pluginInterface, "/atl", "Opens the ActionTimeline configuration window.", PluginCommand, typeof(Settings), typeof(DrawingSettings), typeof(GroupItem), typeof(UiString)); + XIVConfigUIMain.Init(pluginInterface, "/atle", "Opens the ActionTimelineEx configuration window.", PluginCommand, typeof(Settings), typeof(DrawingSettings), typeof(GroupItem), typeof(UiString)); Svc.PluginInterface.UiBuilder.Draw += Draw; Svc.PluginInterface.UiBuilder.OpenConfigUi += OpenConfigUi; diff --git a/ActionTimelineEx/Timeline/TimelineManager.cs b/ActionTimelineEx/Timeline/TimelineManager.cs index ad7ebf6..0c1de6d 100644 --- a/ActionTimelineEx/Timeline/TimelineManager.cs +++ b/ActionTimelineEx/Timeline/TimelineManager.cs @@ -39,7 +39,6 @@ public TimelineManager() } } - public void Dispose() { _items.Clear(); @@ -462,7 +461,7 @@ private unsafe void OnCast(uint sourceId, IntPtr ptr) } catch(Exception ex) { - Svc.Log.Warning(ex, "Something wrong with OnCast1"); + Svc.Log.Warning(ex, "Something wrong with OnCast!"); } } } diff --git a/ActionTimelineEx/Windows/SettingsWindow.cs b/ActionTimelineEx/Windows/SettingsWindow.cs index 03d92e8..61bbf89 100644 --- a/ActionTimelineEx/Windows/SettingsWindow.cs +++ b/ActionTimelineEx/Windows/SettingsWindow.cs @@ -137,24 +137,22 @@ public override bool GetIcon(out IDalamudTextureWrap texture) } public override string Link => $"https://github.com/{XIVConfigUIMain.UserName}/{XIVConfigUIMain.RepoName}/blob/main/CHANGELOG.md"; } + private static float _scale => ImGuiHelpers.GlobalScale; public override SearchableCollection Collection { get; } = new(Settings); + protected override bool ShowDonate => Settings.ShowDonate; protected override string Kofi => "B0B0IN5DX"; - - protected override string DiscordServerID => "1228953752585637908"; - protected override string DiscordServerInviteLink => "9D4E8eZW5g"; - protected override string Crowdin => "actiontimelineex"; private static Settings Settings => Plugin.Settings; public SettingsWindow() : base(typeof(SettingsWindow).Assembly.GetName()) { - Size = new Vector2(300, 490f); + Size = new Vector2(740, 490f); RespectCloseHotkey = true; ImGuiHelper.GetFont(FontSize.Third, GameFontFamily.Axis); - ImGuiHelper.GetFont(FontSize.Forth, GameFontFamily.Axis); + ImGuiHelper.GetFont(FontSize.Fourth, GameFontFamily.Axis); ImGuiHelper.GetFont(FontSize.Fifth, GameFontFamily.Axis); - ImGuiHelper.GetFont(FontSize.Forth, GameFontFamily.MiedingerMid); + ImGuiHelper.GetFont(FontSize.Fourth, GameFontFamily.MiedingerMid); ImGuiHelper.GetFont(FontSize.Fifth, GameFontFamily.MiedingerMid); } diff --git a/XIVConfigUI b/XIVConfigUI index 981f504..4ce2db4 160000 --- a/XIVConfigUI +++ b/XIVConfigUI @@ -1 +1 @@ -Subproject commit 981f50401d33afd3d5c18fd58327082029cd5f94 +Subproject commit 4ce2db49d6d16d2f6e5051f60193558b335ef73c