Skip to content

Commit b5c7171

Browse files
authored
Merge pull request #544 from vizzuhq/swap-lightnesses
Swap lightness channel min-max values
2 parents 4874cb6 + 476528a commit b5c7171

File tree

4 files changed

+120
-116
lines changed

4 files changed

+120
-116
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Fixed
6+
7+
- From now lightness channel goes from light (low value) to dark (high value) colors.
8+
59
## [0.11.2] - 2024-06-18
610

711
### Fixed

src/chart/main/style.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ Chart Chart::def()
120120
}
121121
}),
122122
.colorPalette = ::Anim::Interpolated<Gfx::ColorPalette>(getDefaultColorPalette()),
123-
.minLightness = -0.4,
124-
.maxLightness = 0.4,
123+
.minLightness = 0.4,
124+
.maxLightness = -0.4,
125125
.lineMinWidth = 0.001,
126126
.lineMaxWidth = 0.01,
127127
.circleMinRadius = 0.005,

0 commit comments

Comments
 (0)