Skip to content

Commit c2ff4f1

Browse files
committed
ref #39 : by default, hide the keyboard navigation highlight
It does not render properly so better make it invisible
1 parent 19eceb7 commit c2ff4f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/imtui-impl-text.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ bool ImTui_ImplText_Init() {
282282
ImGui::GetStyle().Colors[ImGuiCol_TitleBg] = ImVec4(0.35, 0.35, 0.35, 1.0f);
283283
ImGui::GetStyle().Colors[ImGuiCol_TitleBgCollapsed] = ImVec4(0.15, 0.15, 0.15, 1.0f);
284284
ImGui::GetStyle().Colors[ImGuiCol_TextSelectedBg] = ImVec4(0.75, 0.75, 0.75, 0.5f);
285+
ImGui::GetStyle().Colors[ImGuiCol_NavHighlight] = ImVec4(0.00, 0.00, 0.00, 0.0f);
285286

286287
ImFontConfig fontConfig;
287288
fontConfig.GlyphMinAdvanceX = 1.0f;

0 commit comments

Comments
 (0)