From 56079f70c72b5c1abc82ec32d45cb009c8daa846 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Tue, 1 Mar 2022 16:36:06 +0100 Subject: [PATCH] ui: Added alpha preview to color picker tool --- plugins/builtin/source/content/tools_entries.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/builtin/source/content/tools_entries.cpp b/plugins/builtin/source/content/tools_entries.cpp index f3c8f9cbf..82779a467 100644 --- a/plugins/builtin/source/content/tools_entries.cpp +++ b/plugins/builtin/source/content/tools_entries.cpp @@ -124,7 +124,7 @@ namespace hex::plugin::builtin { static std::array pickedColor = { 0 }; ImGui::SetNextItemWidth(300.0F); - ImGui::ColorPicker4("hex.builtin.tools.color"_lang, pickedColor.data(), ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_AlphaBar | ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_DisplayHex); + ImGui::ColorPicker4("hex.builtin.tools.color"_lang, pickedColor.data(), ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_AlphaBar | ImGuiColorEditFlags_AlphaPreviewHalf | ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_DisplayHex); ImGui::NewLine(); }