mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-02 09:17: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);\
|
||||
if (ImGui::IsItemHovered()) {\
|
||||
ImGui::SetTooltip(\
|
||||
(strcmp(ImGui::GetClipboardText(),t)==0)?"copied!":"click to copy");\
|
||||
ImGui::SetTooltip((strcmp(ImGui::GetClipboardText(),t)==0)?"copied!":"click to copy");\
|
||||
ImGui::SetMouseCursor(ImGuiMouseCursor_Hand);\
|
||||
}\
|
||||
if (ImGui::IsItemClicked()) ImGui::SetClipboardText(t);
|
||||
|
|
Loading…
Reference in a new issue