Change copy icon to paste
Looks better imo
This commit is contained in:
@@ -49,7 +49,7 @@ public sealed class MacroClipboard : Window, IDisposable
|
|||||||
ImGui.SetCursorPos(buttonCursor);
|
ImGui.SetCursorPos(buttonCursor);
|
||||||
{
|
{
|
||||||
using var color = ImRaii.PushColor(ImGuiCol.Button, ImGui.GetColorU32(buttonActive ? ImGuiCol.ButtonActive : ImGuiCol.ButtonHovered), buttonHovered);
|
using var color = ImRaii.PushColor(ImGuiCol.Button, ImGui.GetColorU32(buttonActive ? ImGuiCol.ButtonActive : ImGuiCol.ButtonHovered), buttonHovered);
|
||||||
ImGuiUtils.IconButtonSized(FontAwesomeIcon.Copy, new(ImGui.GetFrameHeight()));
|
ImGuiUtils.IconButtonSized(FontAwesomeIcon.Paste, new(ImGui.GetFrameHeight()));
|
||||||
if (buttonClicked)
|
if (buttonClicked)
|
||||||
{
|
{
|
||||||
ImGui.SetClipboardText(macro);
|
ImGui.SetClipboardText(macro);
|
||||||
|
|||||||
@@ -1186,7 +1186,7 @@ public sealed class MacroEditor : Window, IDisposable
|
|||||||
"can vary wildly depending on the solver's settings.");
|
"can vary wildly depending on the solver's settings.");
|
||||||
}
|
}
|
||||||
ImGui.SameLine();
|
ImGui.SameLine();
|
||||||
if (ImGuiUtils.IconButtonSized(FontAwesomeIcon.Copy, new(height)))
|
if (ImGuiUtils.IconButtonSized(FontAwesomeIcon.Paste, new(height)))
|
||||||
Service.Plugin.CopyMacro(Macro.Select(s => s.Action).ToArray());
|
Service.Plugin.CopyMacro(Macro.Select(s => s.Action).ToArray());
|
||||||
if (ImGui.IsItemHovered())
|
if (ImGui.IsItemHovered())
|
||||||
ImGui.SetTooltip("Copy to Clipboard");
|
ImGui.SetTooltip("Copy to Clipboard");
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ public sealed class MacroList : Window, IDisposable
|
|||||||
|
|
||||||
ImGui.TableNextColumn();
|
ImGui.TableNextColumn();
|
||||||
{
|
{
|
||||||
if (ImGuiUtils.IconButtonSized(FontAwesomeIcon.Copy, new(miniRowHeight)))
|
if (ImGuiUtils.IconButtonSized(FontAwesomeIcon.Paste, new(miniRowHeight)))
|
||||||
Service.Plugin.CopyMacro(macro.Actions);
|
Service.Plugin.CopyMacro(macro.Actions);
|
||||||
if (ImGui.IsItemHovered())
|
if (ImGui.IsItemHovered())
|
||||||
ImGui.SetTooltip("Copy to Clipboard");
|
ImGui.SetTooltip("Copy to Clipboard");
|
||||||
|
|||||||
@@ -662,7 +662,7 @@ public sealed unsafe class RecipeNote : Window, IDisposable
|
|||||||
Service.Plugin.OpenMacroEditor(CharacterStats!, RecipeData!, new(Service.ClientState.LocalPlayer!.StatusList), macro.Actions, setter);
|
Service.Plugin.OpenMacroEditor(CharacterStats!, RecipeData!, new(Service.ClientState.LocalPlayer!.StatusList), macro.Actions, setter);
|
||||||
if (ImGui.IsItemHovered())
|
if (ImGui.IsItemHovered())
|
||||||
ImGui.SetTooltip("Open in Simulator");
|
ImGui.SetTooltip("Open in Simulator");
|
||||||
if (ImGuiUtils.IconButtonSized(FontAwesomeIcon.Copy, new(miniRowHeight)))
|
if (ImGuiUtils.IconButtonSized(FontAwesomeIcon.Paste, new(miniRowHeight)))
|
||||||
Service.Plugin.CopyMacro(macro.Actions);
|
Service.Plugin.CopyMacro(macro.Actions);
|
||||||
if (ImGui.IsItemHovered())
|
if (ImGui.IsItemHovered())
|
||||||
ImGui.SetTooltip("Copy to Clipboard");
|
ImGui.SetTooltip("Copy to Clipboard");
|
||||||
|
|||||||
Reference in New Issue
Block a user