Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for when the value doesnt get changed by the backend when we send it #9105

Merged
merged 4 commits into from May 7, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/dialogs/more-info/controls/more-info-light.ts
Expand Up @@ -369,7 +369,13 @@ class MoreInfoLight extends LitElement {
return;
}

this._wvSliderValue = wv;
if (name === "wv") {
this._wvSliderValue = wv;
} else if (name === "cw") {
this._cwSliderValue = wv;
} else if (name === "ww") {
this._wwSliderValue = wv;
}
ludeeus marked this conversation as resolved.
Show resolved Hide resolved

wv = Math.min(255, Math.round((wv * 255) / 100));

Expand Down