var visualWidth=container.width();var visualHeight=container.height();function calculateDist(direction, proportion) { return (direction == "x" ? visualWidth : visualHeight) * proportion;}
添加回答
举报
0/150
提交
取消