Skip to content

Commit

Permalink
fix middle button
Browse files Browse the repository at this point in the history
  • Loading branch information
raizyr committed Jun 30, 2023
1 parent 3718636 commit a5af6ec
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions dist/four-speed-fan-button-row.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,22 +370,22 @@ class CustomFourSpeedPercentRow extends LitElement {
this._rightState = (high === 'on' && allowDisable);
this._leftColor = offcolor;
this._midLeftColor = lowcolor;
this._midColor = medlowcolor;
this._middleColor = medlowcolor;
this._midRightColor = medcolor;
this._rightColor = hicolor;
this._leftText = offtext;
this._midLeftText = lowtext;
this._midText = medlowtext;
this._middleText = medlowtext;
this._midRightText = medtext;
this._rightText = hitext;
this._leftName = offname;
this._midLeftName = lowname;
this._midName = medlowname;
this._middleName = medlowname;
this._midRightName = medname;
this._rightName = hiname;
this._hideLeft = hideoff;
this._hideMidLeft = nohide;
this._hideMid = hidemedlow;
this._hideMiddle = hidemedlow;
this._hideMidRight = hidemedium;
this._hideRight = nohide;
} else {
Expand All @@ -396,22 +396,22 @@ class CustomFourSpeedPercentRow extends LitElement {
this._rightState = (offstate == 'on' && allowDisable);
this._leftColor = hicolor;
this._midLeftColor = medcolor;
this._midColor = medlowcolor;
this._middleColor = medlowcolor;
this._midRightColor = lowcolor;
this._rightColor = offcolor;
this._leftText = hitext;
this._midLeftText = medtext;
this._midText = medlowtext;
this._middleText = medlowtext;
this._midRightText = lowtext;
this._rightText = offtext;
this._leftName = hiname;
this._midLeftName = medname;
this._midName = medlowname;
this._middleName = medlowname;
this._midRightName = lowname;
this._rightName = offname;
this._hideRight = hideoff;
this._hideMidRight = nohide;
this._hideMid = hidemedlow;
this._hideMiddle = hidemedlow;
this._hideMidLeft = hidemedium;
this._hideLeft = nohide;
}
Expand Down

0 comments on commit a5af6ec

Please sign in to comment.