Make IDalamudTextureWrap ICloneable

This commit is contained in:
Soreepeong 2024-02-25 21:21:50 +09:00
parent c1c85e5236
commit f6be80a5fb
6 changed files with 145 additions and 32 deletions

View file

@ -119,6 +119,10 @@ internal class TexWidget : IDataWindowWidget
if (ImGui.Button($"X##{i}"))
toRemove = tex;
ImGui.SameLine();
if (ImGui.Button($"Clone##{i}"))
this.addedTextures.Add(tex.Clone());
}
}