-
Notifications
You must be signed in to change notification settings - Fork 90
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
Feat/桌面模式下图片预览支持滚轮缩放与鼠标拖放 #72
base: master
Are you sure you want to change the base?
Conversation
感谢pr,不过我更倾向于使用一个新的js库替换原本的zoom.js |
这个似乎看着更靠谱,那我直接替换😁 |
我在后来找到一个社区活跃度相对比较高的js库: timmywil/panzoom |
timmywil/panzoom#662 timmywil/panzoom#671 这两个问题似乎无法解决 |
@@ -484,29 +484,21 @@ html { | |||
opacity: 0.5 !important; | |||
} | |||
|
|||
.preview-image-dialog__image__wraper { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isInitialized = true; | ||
} | ||
} | ||
|
||
private async void SetVisible(bool value) | ||
protected override async Task InternalVisibleChanged(bool value) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
此处最好还是用之前的方法,改动后会导致安卓返回键返回一次后无法再返回,我也不知道为什么
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
使用新的js库,文件夹名也应该改变
不好意思,请问有什么进展吗?#72 (comment) |
在项目中这两个问题并没有影响正常功能, |
大佬,斗胆pr一下,望不要嫌弃!🤪
看着桌面端下没法缩放和拖放预览图片,故从ant blazor那抄了一个过来;🤖