-
Notifications
You must be signed in to change notification settings - Fork 602
feat(ImageViewer): 支持视口之外图片向中心缩放 #6406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
RSS1102
wants to merge
12
commits into
develop
Choose a base branch
from
rss1102/feat/image-viewer/drage
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+284
−26
Open
Changes from 6 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
32eafae
feat(ImageViewer): support drag and mouse-centered zoom
RSS1102 668f241
feat(image-viewer): remove draggable-overlay prop and simplify drag l…
RSS1102 b2bf4f4
feat(image-viewer): remove scaleFromMousePosition prop and related logic
RSS1102 f1a84f8
feat(image-viewer): refactor drag logic and simplify transform manage…
RSS1102 4745225
feat(image-viewer): optimize zoom logic and refine code comments
RSS1102 3092a91
feat(image-viewer): optimize wheel zoom logic and refine comments
RSS1102 64bf4d8
feat(image-viewer): 对滚轮缩放事件进行节流处理,优化高频触发的性能问题
RSS1102 051cf04
fix(image-viewer): 修复滚轮缩放时的默认滚动行为
RSS1102 d496a49
fix(image-viewer): 修复组件卸载时的清理逻辑
RSS1102 a4f5523
refactor(image-viewer): 将节流逻辑移至 useScale hook 内部实现
RSS1102 433d40d
refactor(image-viewer): 移除未使用的 ImageScale 导入
RSS1102 5d81777
Merge branch 'develop' into rss1102/feat/image-viewer/drage
RSS1102 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.