Skip to content

Commit

Permalink
bugfix: vgroup.color now sets color, not brightness
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed Oct 29, 2017
1 parent 60b5302 commit f9b1ebc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ let adapter = utils_1.default.adapter({
if (val != null) {
state.val = val;
operation = {
dimmer: val,
color: val,
transitionTime: yield getTransitionDuration(vGroup),
};
}
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ let adapter: ExtendedAdapter = utils.adapter({
if (val != null) {
state.val = val;
operation = {
dimmer: val,
color: val,
transitionTime: await getTransitionDuration(vGroup),
};
}
Expand Down

0 comments on commit f9b1ebc

Please sign in to comment.