feat: add copy button

This commit is contained in:
Anna 2021-05-08 14:56:08 -04:00
parent 04d2f681f7
commit 52896cbdd6
1 changed files with 6 additions and 0 deletions

View File

@ -80,6 +80,12 @@ namespace SoundFilter.Ui {
ImGui.SameLine();
if (Util.IconButton(FontAwesomeIcon.Copy, $"copy-{glob}")) {
ImGui.SetClipboardText(glob);
}
ImGui.SameLine();
shouldSave |= ImGui.Checkbox(entry.Value.Name, ref entry.Value.Enabled);
if (ImGui.IsItemHovered()) {
ImGui.BeginTooltip();