@leafer/canvas 1.0.0-alpha.1 → 1.0.0-alpha.5

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,11 +1,13 @@
1
1
  {
2
2
  "name": "@leafer/canvas",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.5",
4
4
  "description": "@leafer/canvas",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
7
7
  "main": "src/index.ts",
8
- "files": ["src"],
8
+ "files": [
9
+ "src"
10
+ ],
9
11
  "repository": {
10
12
  "type": "git",
11
13
  "url": "https://github.com/leaferjs/leafer.git"
@@ -17,9 +19,9 @@
17
19
  "leaferjs"
18
20
  ],
19
21
  "dependencies": {
20
- "@leafer/list": "1.0.0-alpha.1"
22
+ "@leafer/list": "1.0.0-alpha.5"
21
23
  },
22
24
  "devDependencies": {
23
- "@leafer/interface": "1.0.0-alpha.1"
25
+ "@leafer/interface": "1.0.0-alpha.5"
24
26
  }
25
- }
27
+ }
@@ -9,7 +9,7 @@ export class HitCanvasManager extends CanvasManager implements IHitCanvasManager
9
9
  protected pathTypeList: ILeafList = new LeafList()
10
10
  protected imageTypeList: ILeafList = new LeafList()
11
11
 
12
- public get(size: IScreenSizeData): ILeaferCanvas { return undefined }
12
+ public get(_size: IScreenSizeData): ILeaferCanvas { return undefined }
13
13
 
14
14
  public getImageType(leaf: ILeaf, size: IScreenSizeData): IHitCanvas {
15
15
  this.imageTypeList.push(leaf)