Skip to content

Commit

Permalink
Fix out of range logic
Browse files Browse the repository at this point in the history
  • Loading branch information
7evenk committed Jun 20, 2024
1 parent c804995 commit 8ccc646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slider/SliderWebcomponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ export class SliderWebcomponent extends BaseCustomWebComponentConstructorAppend
if (minp < this._min) {
console.log(`Minimum value cannot be less than ${this.min.toString()}`);
this._inputs[0].value = this._min.toString();
minp = 0;
minp = this._min;
}

if (maxp > this._max) {
Expand Down

0 comments on commit 8ccc646

Please sign in to comment.