-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
with the previous implementation, when brightness reached 0 the color was lost, and when the brightness was increased or decreased to the extremes the color could change slightly. This new implementation fixes this by keeping the color as a base color. And then adjusting the brightness with a separate value. This preserves the exact color value even at 0 brightness.
- Loading branch information
1 parent
e08df2b
commit 3d8353a
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters