Pre Merge pull request !116 from jeo_young/dev

This commit is contained in:
jeo_young 2022-12-18 02:26:35 +00:00 committed by Gitee
commit 223d4174e2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -85,8 +85,8 @@ const themeColor = computed(() => {
})
const handleWheel = (e: any) => {
e.preventDefault()
if (e.ctrlKey || e.metaKey) {
e.preventDefault()
let resScale = scale.value
// (200%)
if (e.wheelDelta >= 0 && scale.value < 2) {