Temporarily disable Hud Editor color picker (#401)

This commit is contained in:
Archez
2024-05-22 09:05:05 -05:00
committed by Garrett Cox
parent 77a578cc34
commit 3f52521ad2
+3 -1
View File
@@ -157,8 +157,10 @@ void HudEditorWindow::DrawElement() {
ImGui::PushID(hudEditorElements[i].name);
ImGui::SeparatorText(hudEditorElements[i].name);
float color[3] = { (float)hudEditorElements[i].defaultR / 255, (float)hudEditorElements[i].defaultG / 255, (float)hudEditorElements[i].defaultB / 255 };
// This color picker currently doesn't do anything other than serve as a visual indicator. Eventually it will be used to set the color of the element.
// BENTODO: This color picker currently doesn't do anything other than serve as a visual indicator. Eventually it will be used to set the color of the element.
ImGui::PushItemFlag(ImGuiItemFlags_Disabled, true);
ImGui::ColorEdit3("Color", color, ImGuiColorEditFlags_NoInputs | ImGuiColorEditFlags_NoLabel);
ImGui::PopItemFlag();
ImGui::SameLine();
if (UIWidgets::CVarCombobox("Mode", hudEditorElements[i].modeCvar, modeNames, {
.labelPosition = UIWidgets::LabelPosition::None