Skip to content

Commit 56f7da3

Browse files
committedMay 10, 2024·
Allow the Patrons list to be selected
1 parent a7922ca commit 56f7da3

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed
 

‎src/tabs/library.cpp

+7-4
Original file line numberDiff line numberDiff line change
@@ -6958,17 +6958,20 @@ SKIF_UI_Tab_DrawLibrary (void)
69586958
ImGui::PushStyleColor (ImGuiCol_Text, ImGui::GetStyleColorVec4(ImGuiCol_SKIF_TextBase) * ImVec4 (0.6f, 0.6f, 0.6f, 1.0f));
69596959
ImGui::PushStyleColor (ImGuiCol_FrameBg, ImColor (0, 0, 0, 0).Value);
69606960
ImGui::PushStyleColor (ImGuiCol_ScrollbarBg, ImColor (0, 0, 0, 0).Value);
6961-
ImGui::PushStyleColor (ImGuiCol_TextSelectedBg, ImColor (0, 0, 0, 0).Value);
6961+
//ImGui::PushStyleColor (ImGuiCol_TextSelectedBg, ImColor (0, 0, 0, 0).Value);
69626962
ImGui::InputTextMultiline ("###Patrons", patrons_.data (), patrons_.length (),
69636963
ImVec2 (205.0f * SKIF_ImGui_GlobalDPIScale,
69646964
160.0f * SKIF_ImGui_GlobalDPIScale),
6965-
ImGuiInputTextFlags_ReadOnly );
6966-
ImGui::PopStyleColor (4);
6967-
ImGui::PopStyleVar (2);
6965+
ImGuiInputTextFlags_ReadOnly);
6966+
ImGui::PopStyleColor (3);
6967+
ImGui::PopStyleVar ( );
69686968

69696969
hoveredPatCredits =
69706970
ImGui::IsItemActive ( ) ||
69716971
ImGui::IsItemHovered ( );
6972+
6973+
if (ImGui::IsItemActive ( ))
6974+
allowShortcutCtrlA = false;
69726975

69736976
ImGui::EndChild ( );
69746977
ImGui::PopStyleColor ( );

0 commit comments

Comments
 (0)
Please sign in to comment.