mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 04:13:40 +01:00
Make IDalamudTextureWrap ICloneable
This commit is contained in:
parent
c1c85e5236
commit
f6be80a5fb
6 changed files with 145 additions and 32 deletions
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue