fix: pretty print sets
This commit is contained in:
@@ -16,9 +16,7 @@ class GlyphSet:
|
||||
line = f"{pretty_hex(self.index)}, {self.length}"
|
||||
if not last:
|
||||
line += ","
|
||||
else:
|
||||
line += " "
|
||||
return line + f" // {self.name}"
|
||||
return line.ljust(12) + f"// {self.name}"
|
||||
|
||||
@classmethod
|
||||
def export_glsl(cls, name: str, sets: list[GlyphSet], indent: int = 4) -> list[str]:
|
||||
|
||||
Reference in New Issue
Block a user