Skip to content

Commit

Permalink
Merge pull request #21 from orca-team/dev_lzh
Browse files Browse the repository at this point in the history
fixed:更新版本发布失败问题
  • Loading branch information
hongzelin committed May 13, 2024
2 parents 438070f + c602688 commit 473b35e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .changeset/four-actors-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@orca-fe/transformer": patch
"@orca-fe/hooks": patch
---

更新发布
2 changes: 1 addition & 1 deletion packages/hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@orca-fe/hooks",
"version": "1.11.2",
"version": "1.11.1",
"description": "React Hooks Collections",
"keywords": [
"react",
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/usePan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default function usePan<T extends Target = Target>(
}
}
},
{ passive: false }, // 对于 touchmove,阻止默认的 passive 模式以允许阻止滚动
{ passive: false }, // 对于 touchmove,阻止默认的 passive 模式,以允许阻止滚动
);

useEventListener('mouseup', (e) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/transformer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@orca-fe/transformer",
"version": "0.3.31",
"version": "0.3.30",
"description": "Transformer Container",
"keywords": [
"react",
Expand Down
1 change: 0 additions & 1 deletion packages/transformer/src/TransformerBox/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,6 @@ export const getPointByEvent = (event: PointerEvent | MouseEvent | TouchEvent) =
y: event.touches?.[0]?.clientY,
};
}

return {
x: event.pageX,
y: event.pageY,
Expand Down

0 comments on commit 473b35e

Please sign in to comment.