Skip to content

Commit

Permalink
Fix watcher min/max/step init
Browse files Browse the repository at this point in the history
  • Loading branch information
valadaptive committed Mar 8, 2023
1 parent 46b1b68 commit 11a8222
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Watcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ type WatcherOptions = {
y?: number;
width?: number;
height?: number;
min?: number;
max?: number;
};

export default class Watcher {
Expand Down Expand Up @@ -81,9 +83,6 @@ export default class Watcher {
this.y = y;
this.width = width;
this.height = height;
this.min = 0;
this.max = 100;
this.step = 1;
}

private initializeDOM(): void {
Expand Down

0 comments on commit 11a8222

Please sign in to comment.