wgui: make component names PascalCase

This commit is contained in:
Aleksander
2025-08-17 21:03:17 +02:00
parent d54f74ed3c
commit cf0dd55a0f
3 changed files with 21 additions and 21 deletions

View File

@@ -660,13 +660,13 @@ fn parse_child<'a, U1, U2>(
"sprite" => {
new_widget_id = Some(parse_widget_sprite(file, ctx, child_node, parent_id)?);
}
"button" => {
"Button" => {
new_widget_id = Some(parse_component_button(file, ctx, child_node, parent_id)?);
}
"slider" => {
"Slider" => {
new_widget_id = Some(parse_component_slider(file, ctx, child_node, parent_id)?);
}
"check_box" => {
"CheckBox" => {
new_widget_id = Some(parse_component_checkbox(file, ctx, child_node, parent_id)?);
}
"" => { /* ignore */ }