From 1c37385904fe2777f684ebda3af9fc223f5f611f Mon Sep 17 00:00:00 2001 From: tetektoza Date: Sun, 1 Oct 2023 19:31:00 +0200 Subject: [PATCH] GMLCompiler: Add enum initializer for button_style property This patch adds missing enum initializer for button_style property in enum initializer generator in GML compiler. --- Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp b/Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp index b6e1bf9f3c..9c9b75221c 100644 --- a/Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/GMLCompiler/main.cpp @@ -176,6 +176,7 @@ static ErrorOr> generate_enum_initializer_for(StringView proper { "foreground_role"sv, "Gfx::ColorRole"sv }, { "frame_style"sv, "Gfx::FrameStyle"sv }, { "text_wrapping"sv, "Gfx::TextWrapping"sv }, + { "button_style"sv, "Gfx::ButtonStyle"sv }, }; auto const& enum_type_name = enum_properties.get(property_name);