Skip to content

Commit

Permalink
fix: remove undefined value
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonneyx committed Aug 27, 2024
1 parent 44d128a commit 64cd02a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/g6/src/behaviors/click-select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export interface ClickSelectOptions extends BaseBehaviorOptions {
* <zh/> 当有元素被选中时,除了选中元素及其受影响的邻居元素外,其他所有元素应用的状态。
*
* <en/> The state to be applied to all unselected elements when some elements are selected, excluding the selected element and its affected neighbors
* @defaultValue undefined
*/
unselectedState?: State;
/**
Expand Down
2 changes: 0 additions & 2 deletions packages/g6/src/plugins/fisheye/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export interface FisheyeOptions extends BasePluginOptions {
* <en/> The way to adjust the range radius of the fisheye lens
* - `'wheel'`: adjust by wheel
* - `'drag'`: adjust by drag
* @defaultValue undefined
* @remarks
* <zh/> 如果 `trigger`、`scaleRBy` 和 `scaleDBy` 同时设置为 `'drag'`,优先级顺序为 `trigger` > `scaleRBy` > `scaleDBy`,只会为优先级最高的配置项绑定拖拽事件。同理,如果 `scaleRBy` 和 `scaleDBy` 同时设置为 `'wheel'`,只会为 `scaleRBy` 绑定滚轮事件
*
Expand Down Expand Up @@ -102,7 +101,6 @@ export interface FisheyeOptions extends BasePluginOptions {
* <en/> The way to adjust the distortion factor of the fisheye lens
* - `'wheel'`: adjust by wheel
* - `'drag'`: adjust by drag
* @defaultValue undefined
*/
scaleDBy?: 'wheel' | 'drag';
/**
Expand Down

0 comments on commit 64cd02a

Please sign in to comment.