diff --git a/utilities.cc b/utilities.cc index 04b5b08..aa7c9fa 100644 --- a/utilities.cc +++ b/utilities.cc @@ -4,9 +4,9 @@ void disableButton( ) { - ImGui::PushStyleColor( ImGuiCol_Button , ImColor( .3f , .3f , .3f ) ); - ImGui::PushStyleColor( ImGuiCol_ButtonHovered , ImColor( .3f , .3f , .3f ) ); - ImGui::PushStyleColor( ImGuiCol_ButtonActive , ImColor( .3f , .3f , .3f ) ); + ImGui::PushStyleColor( ImGuiCol_Button , ImVec4( .3 , .3 , .3 , 1 ) ); + ImGui::PushStyleColor( ImGuiCol_ButtonHovered , ImVec4( .3 , .3 , .3 , 1 ) ); + ImGui::PushStyleColor( ImGuiCol_ButtonActive , ImVec4( .3 , .3 , .3 , 1 ) ); } /*----------------------------------------------------------------------------*/