mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 10:06:17 +08:00
chore: bump deps (#15151)
This commit is contained in:
@@ -12,7 +12,7 @@ The options for the hit testing of a point.
|
||||
|
||||
### hitThreshold?
|
||||
|
||||
> `optional` **hitThreshold**: `number`
|
||||
> `optional` **hitThreshold?**: `number`
|
||||
|
||||
The threshold of the hit test. The unit is pixel.
|
||||
|
||||
@@ -20,7 +20,7 @@ The threshold of the hit test. The unit is pixel.
|
||||
|
||||
### ignoreTransparent?
|
||||
|
||||
> `optional` **ignoreTransparent**: `boolean`
|
||||
> `optional` **ignoreTransparent?**: `boolean`
|
||||
|
||||
If true, the transparent area of the element will be ignored during the point inclusion test.
|
||||
Otherwise, the transparent area will be considered as filled area.
|
||||
@@ -31,7 +31,7 @@ Default is true.
|
||||
|
||||
### responsePadding?
|
||||
|
||||
> `optional` **responsePadding**: \[`number`, `number`\]
|
||||
> `optional` **responsePadding?**: \[`number`, `number`\]
|
||||
|
||||
The padding of the response area for each element when do the hit testing. The unit is pixel.
|
||||
The first value is the padding for the x-axis, and the second value is the padding for the y-axis.
|
||||
@@ -40,7 +40,7 @@ The first value is the padding for the x-axis, and the second value is the paddi
|
||||
|
||||
### useElementBound?
|
||||
|
||||
> `optional` **useElementBound**: `boolean`
|
||||
> `optional` **useElementBound?**: `boolean`
|
||||
|
||||
If true, the element bound will be used for the hit testing.
|
||||
By default, the response bound will be used.
|
||||
@@ -49,6 +49,6 @@ By default, the response bound will be used.
|
||||
|
||||
### zoom?
|
||||
|
||||
> `optional` **zoom**: `number`
|
||||
> `optional` **zoom?**: `number`
|
||||
|
||||
The zoom level of current view when do the hit testing.
|
||||
|
||||
Reference in New Issue
Block a user