Skip to content

Commit

Permalink
Fixed locale problems with glm
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStahL committed Jun 27, 2024
1 parent f4c3486 commit 9d94413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imagecolorpicker/color.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def toColorSpace(self: Self, space: ColorSpace) -> None:
self._space = space

def __repr__(self) -> str:
return self._color.__repr__().replace('vec3', 'Color')
return 'vec3({}, {}, {})'.format(*self._color.to_tuple())

@staticmethod
def distance(c1: Self, c2: Self) -> float:
Expand Down

0 comments on commit 9d94413

Please sign in to comment.