mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
This commit is contained in:
parent
45e7f7827a
commit
29fadad193
2 changed files with 4 additions and 0 deletions
|
|
@ -1425,6 +1425,9 @@ bool ImGui::TextLink(const char* label)
|
|||
bool pressed = ButtonBehavior(bb, id, &hovered, &held);
|
||||
RenderNavHighlight(bb, id, ImGuiNavHighlightFlags_None);
|
||||
|
||||
if (hovered)
|
||||
SetMouseCursor(ImGuiMouseCursor_Hand);
|
||||
|
||||
ImVec4 text_colf = g.Style.Colors[ImGuiCol_TextLink];
|
||||
ImVec4 line_colf = text_colf;
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue