Skip to content

Commit 2262d2a

Browse files
committed
Accidentally broke in_gamut check when porting latest version
1 parent 09c0d63 commit 2262d2a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/coloraide/color.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,8 @@ def in_gamut(self, space: Optional[str] = None, *, tolerance: float = util.DEF_F
662662
if c._space.GAMUT_CHECK is not None and not c.convert(c._space.GAMUT_CHECK).in_gamut(tolerance=tolerance):
663663
return False
664664

665+
return gamut.verify(c, tolerance)
666+
665667
def mask(self, channel: Union[str, Sequence[str]], *, invert: bool = False, in_place: bool = False) -> 'Color':
666668
"""Mask color channels."""
667669

0 commit comments

Comments
 (0)