@leafer-ui/interaction 1.0.0-rc.27 → 1.0.0-rc.28
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 +6 -6
- package/src/Interaction.ts +1 -1
- package/src/config.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafer-ui/interaction",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.28",
|
|
4
4
|
"description": "@leafer-ui/interaction",
|
|
5
5
|
"author": "Chao (Leafer) Wan",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"leaferjs"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@leafer/core": "1.0.0-rc.
|
|
26
|
-
"@leafer-ui/draw": "1.0.0-rc.
|
|
27
|
-
"@leafer-ui/event": "1.0.0-rc.
|
|
25
|
+
"@leafer/core": "1.0.0-rc.28",
|
|
26
|
+
"@leafer-ui/draw": "1.0.0-rc.28",
|
|
27
|
+
"@leafer-ui/event": "1.0.0-rc.28"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@leafer/interface": "1.0.0-rc.
|
|
31
|
-
"@leafer-ui/interface": "1.0.0-rc.
|
|
30
|
+
"@leafer/interface": "1.0.0-rc.28",
|
|
31
|
+
"@leafer-ui/interface": "1.0.0-rc.28"
|
|
32
32
|
}
|
|
33
33
|
}
|
package/src/Interaction.ts
CHANGED
|
@@ -421,7 +421,7 @@ export class InteractionBase implements IInteraction {
|
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
public updateCursor(data?: IPointerEvent): void {
|
|
424
|
-
if (this.config.cursor
|
|
424
|
+
if (!this.config.cursor || !this.config.pointer.hover) return
|
|
425
425
|
|
|
426
426
|
if (!data) {
|
|
427
427
|
this.updateHoverData()
|