More cleanup
This commit is contained in:
@@ -62,7 +62,7 @@ for name, (r, g, b, a) in colors.items():
|
||||
]
|
||||
js += [
|
||||
f"Color.{name.lower()} = function() {{",
|
||||
f" return Color.rgba({r8}, {g8}, {b8}, {a8});",
|
||||
f" return new Color({r8}, {g8}, {b8}, {a8});",
|
||||
"};",
|
||||
"",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user