Merge pull request #434 from taiki-e/sdl-format
Fix format of InputObject in SDL
This commit is contained in:
commit
2ce36b2c69
|
@ -200,9 +200,9 @@ impl Registry {
|
||||||
writeln!(sdl, "{{").ok();
|
writeln!(sdl, "{{").ok();
|
||||||
for field in input_fields.values() {
|
for field in input_fields.values() {
|
||||||
if let Some(description) = field.description {
|
if let Some(description) = field.description {
|
||||||
writeln!(sdl, "\"\"\"\n{}\n\"\"\"", description).ok();
|
writeln!(sdl, "\t\"\"\"\n\t{}\n\t\"\"\"", description).ok();
|
||||||
}
|
}
|
||||||
writeln!(sdl, "{}", export_input_value(&field)).ok();
|
writeln!(sdl, "\t{}", export_input_value(&field)).ok();
|
||||||
}
|
}
|
||||||
writeln!(sdl, "}}").ok();
|
writeln!(sdl, "}}").ok();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user