Compare commits

...

2 Commits

Author SHA1 Message Date
Anna fae0456d23
chore: bump version to 1.4.6 2023-09-03 18:04:19 -04:00
Anna cfb78de616
refactor: use new ITextureProvider 2023-09-03 18:04:08 -04:00
3 changed files with 6 additions and 2 deletions

View File

@ -5,6 +5,7 @@ using Dalamud.Game.Command;
using Dalamud.Game.Gui;
using Dalamud.IoC;
using Dalamud.Plugin;
using Dalamud.Plugin.Services;
using XivCommon;
namespace QuestMap {
@ -27,6 +28,9 @@ namespace QuestMap {
[PluginService]
internal GameGui GameGui { get; init; } = null!;
[PluginService]
internal ITextureProvider TextureProvider { get; init; } = null!;
internal XivCommonBase Common { get; }
internal Configuration Config { get; }
internal Quests Quests { get; }

View File

@ -403,7 +403,7 @@ namespace QuestMap {
return wrap;
}
wrap = this.Plugin.DataManager.GetImGuiTextureIcon(this.Plugin.ClientState.ClientLanguage, id);
wrap = this.Plugin.TextureProvider.GetIcon(id);
if (wrap != null) {
this.Icons[id] = wrap;
}

View File

@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net7-windows</TargetFramework>
<RootNamespace>QuestMap</RootNamespace>
<Version>1.4.5</Version>
<Version>1.4.6</Version>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>