Skip to content

Commit

Permalink
v0.2.4
Browse files Browse the repository at this point in the history
Forgot to add (int) to C# export
  • Loading branch information
Patitotective committed Aug 18, 2022
1 parent 3e8937d commit 2b19d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.nim
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ proc formatTemplate*(style: ImGuiStyle, themeName: string, exportKind: ExportKin
of Cpp:
body.add(&"style.Colors[ImGuiCol_{col}] = {colVec.strObjWithoutFieldNames()};")
of CSharp:
body.add(&"style.Colors[ImGuiCol.{col}] = new Vector4{colVec.strObjWithoutFieldNames(true)};")
body.add(&"style.Colors[(int)ImGuiCol.{col}] = new Vector4{colVec.strObjWithoutFieldNames(true)};")
of Nim:
body.add(&"style.colors[ord ImGuiCol.{col}] = {colVec.strObjWithFieldNames()}")
of ImStyle, Publish:
Expand Down

0 comments on commit 2b19d70

Please sign in to comment.