@leafer-in/scroll 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer-in/scroll",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "@leafer-in/scroll",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -34,9 +34,9 @@
34
34
  "leaferjs"
35
35
  ],
36
36
  "peerDependencies": {
37
- "@leafer-ui/draw": "^1.1.0",
38
- "@leafer-ui/core": "^1.1.0",
39
- "@leafer-ui/interface": "^1.1.0",
40
- "@leafer-in/interface": "^1.1.0"
37
+ "@leafer-ui/draw": "^1.1.2",
38
+ "@leafer-ui/core": "^1.1.2",
39
+ "@leafer-ui/interface": "^1.1.2",
40
+ "@leafer-in/interface": "^1.1.2"
41
41
  }
42
42
  }
package/src/ScrollBar.ts CHANGED
@@ -24,7 +24,7 @@ export class ScrollBar extends Group implements IScrollBar {
24
24
 
25
25
  public get isOutside() { return true }
26
26
 
27
- protected __dragOut: boolean
27
+ protected __dragOut: boolean | number
28
28
  protected __eventIds: IEventListenerId[]
29
29
 
30
30
  constructor(target: IGroup, userConfig?: IScrollBarConfig) {
package/types/index.d.ts CHANGED
@@ -13,7 +13,7 @@ declare class ScrollBar extends Group implements IScrollBar {
13
13
  dragScrolling: boolean;
14
14
  scrollBounds: IBounds;
15
15
  get isOutside(): boolean;
16
- protected __dragOut: boolean;
16
+ protected __dragOut: boolean | number;
17
17
  protected __eventIds: IEventListenerId[];
18
18
  constructor(target: IGroup, userConfig?: IScrollBarConfig);
19
19
  changeTheme(theme: IScrollBarTheme): void;