Skip to content

Commit 8768524

Browse files
committed
Changed Coop Link to an actual link instead of button.
1 parent ebb8969 commit 8768524

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

source/settings.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2653,15 +2653,18 @@ ImGui::SetTooltip("%s", tooltip_buffer); \
26532653

26542654
coop_host_input_error = false; // Reset each frame
26552655

2656-
if (ImGui::Button("Co-op Documentation")) {
2657-
open_content("https://github.com/LNXSeus/Advancely#co-op-multiplayer");
2658-
}
2656+
ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(0.4f, 0.6f, 1.0f, 1.0f));
2657+
ImGui::Text("Co-op Documentation");
2658+
ImGui::PopStyleColor();
26592659
if (ImGui::IsItemHovered()) {
26602660
char coop_doc_tooltip_buf[128];
26612661
snprintf(coop_doc_tooltip_buf, sizeof(coop_doc_tooltip_buf),
26622662
"Opens the full Co-op setup guide in your browser.");
26632663
ImGui::SetTooltip("%s", coop_doc_tooltip_buf);
26642664
}
2665+
if (ImGui::IsItemClicked()) {
2666+
open_content("https://github.com/LNXSeus/Advancely#co-op-multiplayer");
2667+
}
26652668
ImGui::Separator();
26662669
ImGui::Spacing();
26672670

0 commit comments

Comments
 (0)