future #10

Merged
袁涛 merged 37 commits from future into main 2025-10-17 14:46:33 +08:00
7 changed files with 738 additions and 352 deletions
Showing only changes of commit 1ca85f2709 - Show all commits

View File

@@ -1090,7 +1090,7 @@ const checkAndSwapImages = (draggedImg, deltaY) => {
// 检查是否与目标图片重叠,使用更精确的碰撞检测
// 当拖拽图片覆盖目标图片高度的三分之二时触发排序
const overlapThreshold = targetRect.height * 0.01
const overlapThreshold = targetRect.height * 0.67
const distance = Math.abs(draggedCenterY - targetCenterY)
if (distance < overlapThreshold) {