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.
This commit is contained in:
tetektoza 2023-10-01 19:31:00 +02:00 committed by Tim Schumacher
parent d2995f7517
commit 1c37385904
Notes: sideshowbarker 2024-07-16 21:39:23 +09:00

View file

@ -176,6 +176,7 @@ static ErrorOr<Optional<String>> 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);