From 805e192d63c74fc53cdfdef91188d82e6b37289b Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Wed, 17 Jan 2024 17:47:23 +0100 Subject: [PATCH] Add alpha preview. --- Glamourer/Gui/Customization/CustomizeParameterDrawer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Glamourer/Gui/Customization/CustomizeParameterDrawer.cs b/Glamourer/Gui/Customization/CustomizeParameterDrawer.cs index 72763c8..28f3d3c 100644 --- a/Glamourer/Gui/Customization/CustomizeParameterDrawer.cs +++ b/Glamourer/Gui/Customization/CustomizeParameterDrawer.cs @@ -197,7 +197,7 @@ public class CustomizeParameterDrawer(Configuration config, PaletteImport import var value = data.CurrentValue.InternalQuadruple; using (_ = ImRaii.Disabled(data.Locked)) { - if (ImGui.ColorEdit4("##value", ref value, GetFlags())) + if (ImGui.ColorEdit4("##value", ref value, GetFlags() | ImGuiColorEditFlags.AlphaPreviewHalf)) data.ValueSetter(new CustomizeParameterValue(value)); }