Skip to content

Commit 11a8222

Browse files
committed
Fix watcher min/max/step init
1 parent 46b1b68 commit 11a8222

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Watcher.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ type WatcherOptions = {
2222
y?: number;
2323
width?: number;
2424
height?: number;
25+
min?: number;
26+
max?: number;
2527
};
2628

2729
export default class Watcher {
@@ -81,9 +83,6 @@ export default class Watcher {
8183
this.y = y;
8284
this.width = width;
8385
this.height = height;
84-
this.min = 0;
85-
this.max = 100;
86-
this.step = 1;
8786
}
8887

8988
private initializeDOM(): void {

0 commit comments

Comments
 (0)