mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-03 09:47:26 +00:00
hmm
thenk
This commit is contained in:
parent
c953ed94ca
commit
7b8ab2ba78
1 changed files with 1 additions and 2 deletions
|
@ -33,8 +33,7 @@
|
||||||
|
|
||||||
#define CLICK_TO_COPY(t) ImGui::TextColored(uiColors[GUI_COLOR_ACCENT_PRIMARY],t);\
|
#define CLICK_TO_COPY(t) ImGui::TextColored(uiColors[GUI_COLOR_ACCENT_PRIMARY],t);\
|
||||||
if (ImGui::IsItemHovered()) {\
|
if (ImGui::IsItemHovered()) {\
|
||||||
ImGui::SetTooltip(\
|
ImGui::SetTooltip((strcmp(ImGui::GetClipboardText(),t)==0)?"copied!":"click to copy");\
|
||||||
(strcmp(ImGui::GetClipboardText(),t)==0)?"copied!":"click to copy");\
|
|
||||||
ImGui::SetMouseCursor(ImGuiMouseCursor_Hand);\
|
ImGui::SetMouseCursor(ImGuiMouseCursor_Hand);\
|
||||||
}\
|
}\
|
||||||
if (ImGui::IsItemClicked()) ImGui::SetClipboardText(t);
|
if (ImGui::IsItemClicked()) ImGui::SetClipboardText(t);
|
||||||
|
|
Loading…
Reference in a new issue