Skip to content

Commit 885c50b

Browse files
committed
Merge branch 'upstream_master' into dev
2 parents f845f5e + 7c8b4ce commit 885c50b

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# ColorHelper
22

3+
## 6.1.1
4+
5+
- **FIX**: Fix broken gamut mapping logic after recent port of latest
6+
`coloraide`.
7+
38
## 6.1.0
49

510
- **NEW**: Update to ColorAide 1.5.

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

support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import webbrowser
66
import re
77

8-
__version__ = "6.1.0"
8+
__version__ = "6.1.1"
99
__pc_name__ = 'ColorHelper'
1010

1111
CSS = '''

0 commit comments

Comments
 (0)